Class ShapeStyle

Hierarchy (View Summary)

Constructors

Methods

  • Returns string

  • Returns boolean

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns [number, number]

  • Returns number

  • Returns number

  • Returns string

  • Returns number

  • Parameters

    • sprite: ShapeSprite

    Returns void

  • Returns {
        alpha: number;
        clipId: string;
        cornerRadius?: [number, number, number, number];
        fillColor?: string;
        hasFill: boolean;
        height?: number;
        innerRadius?: number;
        mediaDataId?: string;
        nrPoints?: number;
        outerRadius?: number;
        position: [number, number];
        rectRadius?: number;
        relativeCornerRadius: boolean;
        rotation: number;
        scale: [number, number];
        shape: ShapeTypeEnum;
        strokeAlignment?: number;
        strokeAlpha?: number;
        strokeColor?: string;
        strokeWidth?: number;
        width?: number;
        zIndex: number;
    }

  • Parameters

    • alpha: number

    Returns void

  • Parameters

    • multiplierX: number
    • multiplierY: number

    Returns void

  • Parameters

    • radii: number | [number, number, number, number]
    • relative: boolean = false

    Returns void

  • Parameters

    • fillColor: string

    Returns void

  • Parameters

    • hasFill: boolean

    Returns void

  • Parameters

    • innerRadius: number

    Returns void

  • Parameters

    • nrPoints: number

    Returns void

  • Parameters

    • outerRadius: number

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    • rectRadius: number

    Returns void

  • Parameters

    • rotation: number

    Returns void

  • Parameters

    • scaleX: number
    • scaleY: number

    Returns void

  • Parameters

    • strokeAlpha: number

    Returns void

  • Parameters

    • strokeColor: string

    Returns void

  • Parameters

    • strokeWidth: number

    Returns void

  • Parameters

    • zIndex: number

    Returns void

  • Parameters

    • container: ShapeSprite
    • redraw: boolean = false

    Returns void