C

VsdxPathFactory

A factory class that provides methods for creating the geometry of elementary geometrical shapes.

Inheritance Hierarchy

Members

No filters for this type

Static Methods

Creates the VsdxPath object for a star with the given number of points.

static

Parameters

shape: Shape
pointCount: number
initialAngle?: number

Return Value

Creates the geometry of a symmetric parallelogram Shape that has sloped edges.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of an elliptical Shape.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a regular six-sided Shape with tips left and right.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a regular six-sided Shape with tips at top and bottom.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a line Shape with the given coordinates.

static

Parameters

shape: Shape
fromX: number
fromY: number
toX: number
toY: number

Return Value

Creates the geometry of an 8-sided Shape where the edges are aligned with the edges of the bounding box.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of an 8-sided Shape with the tips touching the edges of the bounding box.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a 5-sided Shape with the tip at the top.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a pill Shape.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a rectangular Shape.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a rectangular Shape with rounded edges.

static

Parameters

shape: Shape
radius: number
width?: number
height?: number

Return Value

Creates the geometry of a squircle Shape.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a 5-star Shape with one tip that points to the top.

static

Parameters

shape: Shape

Return Value

Creates the geometry of a 6-star Shape.

static

Parameters

shape: Shape

Return Value

Creates the geometry of an 8-star Shape.

static

Parameters

shape: Shape

Return Value

Creates the geometry of a triangular Shape that points to the top.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a triangular Shape that points to the bottom.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a triangular Shape that points to the left.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value

Creates the geometry of a triangular Shape that points to the right.

static

Parameters

shape: Shape
width?: number
height?: number

Return Value