Resource Base
Table of contents

AnnotationSelectionStyle

Syntax

interface AnnotationSelectionStyle {
	border?: string; 
	background?: string; 
	ctrlBorderRadius?: string; 
	ctrlBorder?: string; 
	ctrlWidth?: string; 
	ctrlHeight?: string; 
	ctrlBackground?: string; 
}

Attributes

border

The border style of selection.

The border style contains three parts, borderWidth, borderStyle and borderColor.

Only takes effect when set borderWidth, borderStyle and borderColor at the same time.

borderWidth only supports px unit.

borderStyle only supports dashed, solid.

Example

border: "2px dashed red", 

background

The background style of selection.

Example

background: "rgba(220, 220, 220, 0.5)", 

ctrlBorderRadius

The border radius of Control Points. Supports pt and %.

ctrlBorder

The border style of Control Points.

ctrlBorder: "1pt solid green", 

ctrlWidth

The width of Control Points. Only supports px unit.

ctrlHeight

The height of Control Points. Only supports px unit.

ctrlBackground

The backgroud style of Control Points.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.0)
    • Version 1.x
      • Version 1.1
    Change +