Type alias DrawSettings

DrawSettings: {
    alpha?: number;
    angle?: number;
    border?: boolean;
    borderColor?: string | CanvasGradient | CanvasPattern;
    borderSize?: number;
    color?: string | CanvasGradient | CanvasPattern;
    fill?: boolean;
    rotationStyle?: RotationStyle;
    shadow?: Shadow;
}

Represents renderer properties

Type declaration

  • Optional alpha?: number

    Alpha decimal midpoint

  • Optional angle?: number

    Rotation of shape in degrees

  • Optional border?: boolean

    Should the shape have a border?

  • Optional borderColor?: string | CanvasGradient | CanvasPattern

    Shape border color

  • Optional borderSize?: number

    Shape border size

  • Optional color?: string | CanvasGradient | CanvasPattern

    Shape fill color

  • Optional fill?: boolean

    Should the shape have a fill?

  • Optional rotationStyle?: RotationStyle

    Rotation style

  • Optional shadow?: Shadow

    Shadow settings for shape