API / geotoolkit / controls / editing / scaling / RectangularShapeAdapter / RectangularShapeAdapter
scaling.RectangularShapeAdapter.RectangularShapeAdapter
Type Aliases
Type Aliases
Ƭ Options: Object
options
| Name | Type | Description |
|---|---|---|
box? | Partial<OptionsBase["box"]> | options for box |
handlers? | AnchorType[] | handlers positions |
handlestyle? | Partial<OptionsBase["handlestyle"]> | handle style |
Ƭ OptionsBase: Object
options
| Name | Type | Description |
|---|---|---|
box | { activefillstyle: Type ; inactivefillstyle: Type } | options for box |
box.activefillstyle | Type | options for active box fill style |
box.inactivefillstyle | Type | options for inactive box fill style |
handlers | AnchorType[] | handlers positions |
handlestyle | { activefillstyle: Type ; activelinestyle: Type ; inactivefillstyle: Type ; inactivelinestyle: Type } | handle style |
handlestyle.activefillstyle | Type | handle fill style |
handlestyle.activelinestyle | Type | handle connection style when active |
handlestyle.inactivefillstyle | Type | handle fill style |
handlestyle.inactivelinestyle | Type | handle connection style when inactive |
Ƭ Style: Object
json object for new style
| Name | Type | Description |
|---|---|---|
corners? | { fillstyle?: Type ; linestyle?: Type } | object contains properties for all the corners and sides handles |
corners.fillstyle? | Type | fillstyle |
corners.linestyle? | Type | linestyle |
main? | { fillstyle?: Type ; linestyle?: Type } | object contains properties for main rectangle |
main.fillstyle? | Type | fillstyle |
main.linestyle? | Type | linestyle |