Search
VisualElement Members
Constructors Properties Methods
 


Represents an object with outline and fill, which can render itself to a canvas.

The following tables list the members exposed by the VisualElement type.

 Public Constructors

  Name Description

VisualElement

Creates an instance of VisualElement class.

 Public Properties

  Name Description

bounds

Gets or sets the bounding rectangle of this element.

fill

Gets or sets the fill of this element.

isVisible

Gets or sets a value indicating whether this element is visible.

margin

Gets or sets the margin of this element.

name

Gets or sets the name of this element.

relativeCoordinates

Gets or sets a value indicating whether the metrics of this element are expressed as relative or absolute quantities.

renderSize

Gets or sets the rendering size of the element.

stroke

Gets or sets the stroke of this element.

x

Gets or sets the normalized x position of this element, relative to its parent.

y

Gets or sets the normalized y position of this element, relative to its parent.

 Public Methods

  Name Description

getSize

Gets the size of this element.

 See Also