gameforge - v0.1.12
    Preparing search index...

    Class GraphicsData

    A class to contain data useful for Graphics objects

    PIXI

    Index

    Constructors

    • Parameters

      • shape: IShape

        The shape object to draw.

      • OptionalfillStyle: FillStyle

        the width of the line to draw

      • OptionallineStyle: LineStyle

        the color of the line to draw

      • Optionalmatrix: Matrix

        Transform matrix

      Returns GraphicsData

    Properties

    fillStyle: FillStyle

    The style of the fill.

    holes: GraphicsData[]

    The collection of holes.

    lineStyle: LineStyle

    The style of the line.

    matrix: Matrix

    The transform matrix.

    points: number[]

    The collection of points.

    shape: IShape

    The shape object to draw.

    type: SHAPES

    The type of the shape, see the Const.Shapes file for all the existing types,

    Methods

    • Creates a new GraphicsData object with the same values as this one.

      Returns GraphicsData

      • Cloned GraphicsData object
    • Destroys the Graphics data.

      Returns void