CLASSES
TagsA - Z

Shape2D

Description

class Shape2D extends RenderablePrim2D

Constructor

new Shape2D(settings)

Parameters

Name Type Description
optional settings { fill: IBrush2D, string: string, border: IBrush2D, string: string, borderThickness: number }

Members

static SHAPE2D_BORDERPARTID : number

static SHAPE2D_FILLPARTID : number

static SHAPE2D_CATEGORY_BORDER : string

static SHAPE2D_CATEGORY_BORDERSOLID : string

static SHAPE2D_CATEGORY_BORDERGRADIENT : string

static SHAPE2D_CATEGORY_FILLSOLID : string

static SHAPE2D_CATEGORY_FILLGRADIENT : string

static SHAPE2D_PROPCOUNT : number

static borderProperty : Prim2DPropInfo

static fillProperty : Prim2DPropInfo

static borderThicknessProperty : Prim2DPropInfo

border : IBrush2D

fill : IBrush2D

Get/set the brush to render the Fill part of the Primitive

borderThickness : number