@maxgraph/core
Preparing search index...
CanvasState
Type Alias CanvasState
type
CanvasState
=
{
alpha
:
number
;
dashed
:
boolean
;
dashPattern
:
string
;
dx
:
number
;
dy
:
number
;
fillAlpha
:
number
;
fillColor
:
ColorValue
;
fixDash
:
boolean
;
fontBackgroundColor
:
ColorValue
;
fontBorderColor
:
ColorValue
;
fontColor
:
ColorValue
;
fontFamily
:
string
;
fontSize
:
number
;
fontStyle
:
number
;
gradientAlpha
:
number
;
gradientColor
:
ColorValue
;
gradientDirection
:
DirectionValue
;
gradientFillAlpha
:
number
;
lineCap
:
string
;
lineJoin
:
string
;
miterLimit
:
number
;
rotation
:
number
;
rotationCx
:
number
;
rotationCy
:
number
;
scale
:
number
;
shadow
:
boolean
;
shadowAlpha
:
number
;
shadowColor
:
ColorValue
;
shadowDx
:
number
;
shadowDy
:
number
;
strokeAlpha
:
number
;
strokeColor
:
ColorValue
;
strokeWidth
:
number
;
transform
:
string
|
null
;
}
Index
Properties
alpha
dashed
dash
Pattern
dx
dy
fill
Alpha
fill
Color
fix
Dash
font
Background
Color
font
Border
Color
font
Color
font
Family
font
Size
font
Style
gradient
Alpha
gradient
Color
gradient
Direction
gradient
Fill
Alpha
line
Cap
line
Join
miter
Limit
rotation
rotation
Cx
rotation
Cy
scale
shadow
shadow
Alpha
shadow
Color
shadow
Dx
shadow
Dy
stroke
Alpha
stroke
Color
stroke
Width
transform
Properties
alpha
alpha
:
number
dashed
dashed
:
boolean
dash
Pattern
dashPattern
:
string
dx
dx
:
number
dy
dy
:
number
fill
Alpha
fillAlpha
:
number
fill
Color
fillColor
:
ColorValue
fix
Dash
fixDash
:
boolean
font
Background
Color
fontBackgroundColor
:
ColorValue
font
Border
Color
fontBorderColor
:
ColorValue
font
Color
fontColor
:
ColorValue
font
Family
fontFamily
:
string
font
Size
fontSize
:
number
font
Style
fontStyle
:
number
See
CellStateStyle.fontStyle
.
gradient
Alpha
gradientAlpha
:
number
gradient
Color
gradientColor
:
ColorValue
gradient
Direction
gradientDirection
:
DirectionValue
gradient
Fill
Alpha
gradientFillAlpha
:
number
line
Cap
lineCap
:
string
line
Join
lineJoin
:
string
miter
Limit
miterLimit
:
number
rotation
rotation
:
number
rotation
Cx
rotationCx
:
number
rotation
Cy
rotationCy
:
number
scale
scale
:
number
shadow
shadow
:
boolean
shadow
Alpha
shadowAlpha
:
number
shadow
Color
shadowColor
:
ColorValue
shadow
Dx
shadowDx
:
number
shadow
Dy
shadowDy
:
number
stroke
Alpha
strokeAlpha
:
number
stroke
Color
strokeColor
:
ColorValue
stroke
Width
strokeWidth
:
number
transform
transform
:
string
|
null
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
alpha
dashed
dash
Pattern
dx
dy
fill
Alpha
fill
Color
fix
Dash
font
Background
Color
font
Border
Color
font
Color
font
Family
font
Size
font
Style
gradient
Alpha
gradient
Color
gradient
Direction
gradient
Fill
Alpha
line
Cap
line
Join
miter
Limit
rotation
rotation
Cx
rotation
Cy
scale
shadow
shadow
Alpha
shadow
Color
shadow
Dx
shadow
Dy
stroke
Alpha
stroke
Color
stroke
Width
transform
@maxgraph/core
Loading...
See CellStateStyle.fontStyle.