phaser - v4.0.0-rc.4
    Preparing search index...

    Interface IConstraintRenderDefinition

    interface IConstraintRenderDefinition {
        anchorColor?: number;
        anchors?: boolean;
        anchorSize?: number;
        lineColor?: number;
        lineOpacity?: number;
        lineThickness?: number;
        pinSize?: number;
        type?: string;
        visible?: boolean;
    }
    Index

    Properties

    anchorColor?: number

    A hex color value that defines the color to use when rendering the anchors.

    anchors?: boolean

    A flag that indicates if the constraint anchors should be rendered.

    true
    
    anchorSize?: number

    The size of the anchors during rendering.

    lineColor?: number

    A hex color value that defines the line color to use when rendering the body.

    lineOpacity?: number

    A value that defines the line opacity to use when rendering the body.

    lineThickness?: number

    A Number that defines the line width to use when rendering the body outline.

    pinSize?: number

    The size of the pins during rendering.

    type?: string

    The type of constraint.

    'line'
    
    visible?: boolean

    A flag that indicates if the constraint should be rendered.

    true