Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RegularShape<>

Type Parameters

    Hierarchy

    • RegularShape

    Index

    Properties

    angle: number

    Shape's angle in radians. A value of 0 will have one of the shape's point facing up.

    displacement: number[]

    Displacement of the shape

    fill: Fill

    Fill style.

    points: number

    Number of points for stars and regular polygons. In case of a polygon, the number of points is the number of sides.

    radius: number

    Radius of a regular polygon.

    radius1: number

    Outer radius of a star.

    radius2: number

    Inner radius of a star.

    rotateWithView: boolean

    Whether to rotate the shape with the view.

    rotation: number

    Rotation in radians (positive rotation clockwise).

    stroke: Stroke

    Stroke style.

    Generated using TypeDoc