VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebRotationInteractionPointJS type / set_RotationPointDistance Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_RotationPointDistance Method
    In This Topic
    Sets the distance, in pixels, from the object's bounding box to the rotation point.
    Syntax
    var instance = new Vintasoft.Imaging.UI.VisualTools.WebRotationInteractionPointJS(fillColor, borderColor, cursor);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_RotationPointDistance(value);
    
    
    function set_RotationPointDistance(
    value
    The distance, in pixels, from the object's bounding box to the rotation point. Default value is 20.
    : number
    ) : any;

    Parameters

    value
    The distance, in pixels, from the object's bounding box to the rotation point. Default value is 20.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if argument is negative.
    Browser Compatibility
    56+
    45+
    11
    See Also