OverviewSingleDeprecatedPropertiesEventsXSL Parameters

jsx3.vector

class BaseShape

Object
->jsx3.lang.Object
  ->jsx3.html.Tag
    ->jsx3.html.BlockTag
      ->jsx3.vector.Tag
        ->jsx3.vector.BaseShape

Direct Known Subclasses:

jsx3.vector.Line, jsx3.vector.Oval, jsx3.vector.Polygon, jsx3.vector.Rectangle, jsx3.vector.Shape, jsx3.vector.TextLine

abstract class BaseShape
extends jsx3.vector.Tag
A vector tag that can have fill and stroke. The base class for several other vector classes.

Constructor Summary
void
init(strTagName : String, left : int, top : int, width : int, height : int)
The instance initializer.
Method Summary
void
Returns the fill of this shape.
void
Returns the stroke of this shape.
void
Sets the fill of this shape, other fills may be present as children of this instance.
void
Sets the stroke of this shape, other strokes may be present as children of this instance.
Methods Inherited From jsx3.vector.Tag
getRotation, getToolTip, setRotation, setToolTip
Methods Inherited From jsx3.html.BlockTag
getBackgroundColor, getDimensions, getHeight, getLeft, getMargin, getMarginDimensions, getPadding, getPaddingDimensions, getPosition, getTop, getWidth, getZIndex, setBackgroundColor, setDimensions, setHeight, setLeft, setMargin, setPadding, setPosition, setTop, setWidth, setZIndex
Methods Inherited From jsx3.html.Tag
appendChild, getChildren, getClassName, getFirstChildOfType, getId, getParent, getProperty, getStyle, getTagNS, getTagName, onAppendChild, onRemoveChild, paint, paintDom, paintUpdate, release, removeChild, removeChildren, removeProperty, removeStyle, replaceChild, setClassName, setExtraStyles, setId, setProperty, setStyle, toString
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf
Constructor Detail

init

void init(strTagName : String, left : int, top : int, width : int, height : int)
The instance initializer.

Parameters:

strTagName
leftleft position (in pixels) of the object relative to its parent container
toptop position (in pixels) of the object relative to its parent container
widthwidth (in pixels) of the object
heightheight (in pixels) of the object
Method Detail

getFill

void getFill()
Returns the fill of this shape.

getStroke

void getStroke()
Returns the stroke of this shape.

setFill

void setFill(fill : jsx3.vector.Fill)
Sets the fill of this shape, other fills may be present as children of this instance.

Parameters:

fillthe fill value.

setStroke

void setStroke(stroke : jsx3.vector.Stroke)
Sets the stroke of this shape, other strokes may be present as children of this instance.

Parameters:

strokethe stroke value.