Last updated

API / geotoolkit / controls / editing / scaling / RectangularShapeAdapter / RectangularShapeAdapter

Namespace: RectangularShapeAdapter

scaling.RectangularShapeAdapter.RectangularShapeAdapter

Table of contents

Type Aliases

Contents

Type Aliases

Options

Ƭ Options: Object

options

Type declaration

NameTypeDescription
box?Partial<OptionsBase["box"]>options for box
handlers?AnchorType[]handlers positions
handlestyle?Partial<OptionsBase["handlestyle"]>handle style

OptionsBase

Ƭ OptionsBase: Object

options

Type declaration

NameTypeDescription
box{ activefillstyle: Type ; inactivefillstyle: Type }options for box
box.activefillstyleTypeoptions for active box fill style
box.inactivefillstyleTypeoptions for inactive box fill style
handlersAnchorType[]handlers positions
handlestyle{ activefillstyle: Type ; activelinestyle: Type ; inactivefillstyle: Type ; inactivelinestyle: Type }handle style
handlestyle.activefillstyleTypehandle fill style
handlestyle.activelinestyleTypehandle connection style when active
handlestyle.inactivefillstyleTypehandle fill style
handlestyle.inactivelinestyleTypehandle connection style when inactive

Style

Ƭ Style: Object

json object for new style

Type declaration

NameTypeDescription
corners?{ fillstyle?: Type ; linestyle?: Type }object contains properties for all the corners and sides handles
corners.fillstyle?Typefillstyle
corners.linestyle?Typelinestyle
main?{ fillstyle?: Type ; linestyle?: Type }object contains properties for main rectangle
main.fillstyle?Typefillstyle
main.linestyle?Typelinestyle