ASP.NET Pack Programmer's Guide
VisualElement Members
Constructors 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 Methods

  Name Description

getBounds

Gets the bounding rectangle of this element.

getFill

Gets the fill of this element.

getIsVisible

Gets a value indicating whether this element is visible.

getMargin

Gets the margin of this element.

getName

Gets the name of this element.

getRelativeCoordinates

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

getRenderSize

Gets the rendering size of the element.

getSize

Gets the size of this element.

getStroke

Gets the stroke of this element.

getX

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

getY

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

setBounds

Sets the bounding rectangle of this element.

setFill

Sets the fill of this element.

setIsVisible

Sets a value indicating whether this element is visible.

setMargin

Sets the margin of this element.

setName

Sets the name of this element.

setRelativeCoordinates

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

setRenderSize

Sets the rendering size of the element.

setStroke

Sets the stroke of this element.

setX

Sets the normalized x position of this element, relative to its parent.

setY

Sets the normalized y position of this element, relative to its parent.

 See Also

VisualElement Class
MindFusion.Gauges Namespace