Interface EditablePartOfItem

Editable part of getLocus item

interface EditablePartOfItem {
    x: number;
    y: number;
    z: number;
    width: BiggerThenZeroNumber;
    height: BiggerThenZeroNumber;
    ratio: BiggerThenZeroNumber;
    rotation: number;
    scale: PositiveNumber;
    locked: GlLock;
    visibility: GlVisibility;
    parent: 0 | ObjectId;
}

Hierarchy (view full)

  • EditablePartOfItem

Properties

x: number

x coordinate relative to the top-level corner of parent

y: number

y coordinate relative to the top-level corner of parent

z: number

Z-index

width in space pixels

height in space pixels

width/height

rotation: number

Rotation angle in deg

Scale of the item on screen

locked: GlLock

Block moving/editing

visibility: GlVisibility

Hide from others

parent: 0 | ObjectId

Parent object