Resource Base
Table of contents

QuadSelectionStyle

Syntax

interface QuadSelectionStyle {
	border?: string; 
	background?: string; 
	ctrlBorderRadius?: string; 
	ctrlBorder?: string; 
	ctrlWidth?: string; 
	ctrlHeight?: string; 
	ctrlBackground?: string; 
	invalidCtrlBorderColor?: string; 
	invalidBorderColor?: 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)", 

The following attributes do not apply to CaptureViewer so far.

ctrlBorderRadius

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

ctrlBorder

The border style of Control Points.

ctrlBorder: "1px 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.

invalidCtrlBorderColor

The border color of Control Points when the selection is invalid.

invalidBorderColor

The border color of Selection when the selection is invalid.

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support