Skip to main content

ICanvasStyle

Enumerations​

InteractiveZoneLabelPosition​

Enumeration Members​

Enumeration MemberValue
inside1
outside0

Interfaces​

IArtworkSizeStyle​

Properties​

artworkFrameColor​
artworkFrameColor: string;
artworkFrameShowLabel​
artworkFrameShowLabel: boolean;
artworkFrameTextFont​
artworkFrameTextFont: string;
artworkFrameTextFontSize​
artworkFrameTextFontSize: number;
artworkInnerBorderFrameDash​
artworkInnerBorderFrameDash: number[];
oversizeFrameColor​
oversizeFrameColor: string;

ICanvasStyle​

Properties​

artworkSize​
artworkSize: IArtworkSizeStyle;
hover​
hover: IHoverStyle;
interactiveZones​
interactiveZones: IInteractiveZonesStyles;
rubberband​
rubberband: IRubberbandStyle;
selection​
selection: ISelectionStyle;
spotlight​
spotlight: ISpotlightStyle;

IHoverStyle​

Properties​

color​
color: string;
dashPattern​
dashPattern: number[];
fillColor​
fillColor: string;
showLabel​
showLabel: boolean;
textColor​
textColor: string;
textStyle​
textStyle: string;
width​
width: number;

IInteractiveZonesStyles​

Indexable​

[key: string]: IInteractiveZoneStyle

Properties​

default?​
optional default?: IInteractiveZoneStyle;

IInteractiveZoneStateStyle​

Properties​

borderAltColor?​
optional borderAltColor?: string;
borderColor?​
optional borderColor?: string;
borderDash?​
optional borderDash?: number[];
borderWidth?​
optional borderWidth?: number;
fillColor?​
optional fillColor?: string;
labelBackgroundColor?​
optional labelBackgroundColor?: string;
labelColor?​
optional labelColor?: string;
labelFont?​
optional labelFont?: string;
labelFontSize?​
optional labelFontSize?: number;
labelMargin?​
optional labelMargin?: string | number;
labelPosition?​
optional labelPosition?: InteractiveZoneLabelPosition;
labelTitle?​
optional labelTitle?: string;
showLabel?​
optional showLabel?: boolean;

IInteractiveZoneStyle​

Properties​

active?​
optional active?: IInteractiveZoneStateStyle;
activeHighlighted?​
optional activeHighlighted?: IInteractiveZoneStateStyle;
common?​
optional common?: IInteractiveZoneStateStyle;
highlighted?​
optional highlighted?: IInteractiveZoneStateStyle;

IRubberbandStyle​

Properties​

color​
color: string;
dashPattern​
dashPattern: number[];
fillColor​
fillColor: string;
width​
width: number;

ISelectionStyle​

Properties​

color​
color: string;
dashPattern​
dashPattern: number[];
fillColor​
fillColor: string;
resizeGripColor​
resizeGripColor: string;
resizeGripLineColor​
resizeGripLineColor: string;
resizeGripLineWidth​
resizeGripLineWidth: number;
resizeGripSize​
resizeGripSize: number;
rotationGripColor​
rotationGripColor: string;
rotationGripLineColor​
rotationGripLineColor: string;
rotationGripSize​
rotationGripSize: number;
rotationGripSizeOnTouchDevice​
rotationGripSizeOnTouchDevice: number;
width​
width: number;

ISpotlightStyle​

Properties​

color​
color: string;
dashPattern​
dashPattern: number[];
fillColor​
fillColor: string;
showLabel​
showLabel: boolean;
textColor​
textColor: string;
textStyle​
textStyle: string;
width​
width: number;
Was this page helpful?