@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
56 lines (55 loc) • 1.16 kB
TypeScript
export declare enum FitMode {
ShrinkToContentWidth = 0,
StretchToContentWidth = 1,
ShrinkOrStretchToContentWidth = 2,
ShrinkToContentHeight = 3,
StretchToContentHeight = 4,
ShrinkOrStretchToContentHeight = 5,
ShrinkToContent = 6,
StretchToContent = 7,
ShrinkOrStretchToContent = 8
}
export declare enum ShrinkMode {
Size = 0,
Scale = 1
}
export declare enum OverflowStrategy {
Clip = 0,
FitToWidth = 1,
FitToBox = 2,
ExpandBox = 3
}
export declare enum TextAlignment {
Left = 0,
Center = 1,
Right = 2,
Justify = 3,
LastLeft = 4,
LastRight = 5,
LastCenter = 6
}
export declare enum TextVerticalAlignment {
Top = 0,
Center = 1,
Bottom = 2
}
export declare enum FirstBaselineOffset {
Ascent = 0,
CapHeight = 1,
Leading = 2,
XHeight = 3,
Fixed = 4,
EmboxHeight = 5
}
export declare enum AutoSizeMode {
Off = 0,
WidthOnly = 1,
HeightOnly = 2,
WidthHeight = 3
}
export declare enum CopyFittingMode {
Off = 0,
FitToBox = 1,
FitToWidth = 2,
Fill = 3
}