[]
        
(Showing Draft Content)

IPaintObjectDesigner

Interface: IPaintObjectDesigner

Paint object designer interface.

Properties

selected

selected: boolean;

Gets/sets selected state.

Methods

getPaintObjectProperty()

getPaintObjectProperty(propertyName): any;

Gets paint object property value.

Parameters

propertyName

PaintObjectPropertyName

Returns

any


onPointerEnd()

onPointerEnd(point): boolean;

Returns a boolean value indicating whether the selection path is automatically closed.

Parameters

point

PointLocation

Returns

boolean


setPaintObjectProperty()

setPaintObjectProperty(
   propertyName, 
   val, 
   dirty?, 
   caller?): boolean;

Sets paint object property value. Returns true if designer appearance changed.

Parameters

propertyName

PaintObjectPropertyName

val

any

dirty?

boolean

caller?

string

Returns

boolean


updatePosition()

updatePosition(point, moveDisatance?): boolean;

Sets paint object canvas location. Returns true if designer appearance changed.

Parameters

point

PointLocation

moveDisatance?
x

number

y

number

Returns

boolean