Interface Text

interface Text {
    alignmentBaseline: string;
    ascent: Num;
    center: Vec2;
    descent: Num;
    dominantBaseline: string;
    drag: boolean;
    dragConstraint: DragConstraint;
    ensureOnCanvas: boolean;
    fillColor: Color;
    fontFamily: string;
    fontSize: string;
    fontSizeAdjust: string;
    fontStretch: string;
    fontStyle: string;
    fontVariant: string;
    fontWeight: string;
    height: Num;
    interactiveOnly: boolean;
    lineHeight: string;
    name: string;
    rotation: Num;
    shapeType: Text;
    string: string;
    strokeColor: Color;
    strokeDasharray: string;
    strokeStyle: string;
    strokeWidth: Num;
    textAnchor: string;
    visibility: string;
    width: Num;
}

Hierarchy (view full)

Properties

alignmentBaseline: string
ascent: Num
center: Vec2
descent: Num
dominantBaseline: string
drag: boolean
dragConstraint: DragConstraint
ensureOnCanvas: boolean
fillColor: Color
fontFamily: string
fontSize: string
fontSizeAdjust: string
fontStretch: string
fontStyle: string
fontVariant: string
fontWeight: string
height: Num
interactiveOnly: boolean
lineHeight: string
name: string
rotation: Num
shapeType: Text
string: string
strokeColor: Color
strokeDasharray: string
strokeStyle: string
strokeWidth: Num
textAnchor: string
visibility: string
width: Num