Type Alias TShapeState

TShapeState: {
    altitude: number;
    bevel?: {
        enabled?: boolean;
        offset?: number;
        segments?: number;
        size?: number;
        thickness?: number;
    };
    color: string;
    height: number;
    interactive: boolean;
    opacity: number;
    type: "shape";
    visible: boolean;
}

Represents the state of a shape.

Type declaration

  • altitude: number

    The altitude of the shape.

    0
    
  • Optionalbevel?: {
        enabled?: boolean;
        offset?: number;
        segments?: number;
        size?: number;
        thickness?: number;
    }

    Bevel configuration for extruded shapes.

  • color: string

    The color of the shape.

    #ffffff
    
  • height: number

    The height of the shape. Height cannot be updated at this time

  • interactive: boolean

    Whether the shape is interactive.

    false
    
  • opacity: number

    The opacity of the shape.

    1
    
  • type: "shape"

    The type of the shape.

  • visible: boolean

    Whether Shape is visible

    true