PainterControllerHelper extension

Adds extra getters and setters in PainterController to make it easier to use.

This was made as an extension to not clutter up the PainterController class even more.

on

Properties

background BackgroundDrawable?

Available on PainterController, provided by the PainterControllerHelper extension

The current background drawable directly from value.
getter/setter pair
drawables List<Drawable>

Available on PainterController, provided by the PainterControllerHelper extension

The unmodifiable list of drawables directly from value.
no setter
drawShapeOnce bool

Available on PainterController, provided by the PainterControllerHelper extension

Whether to draw shapes once or continuously from value.settings.shape directly.
getter/setter pair
enlargeObjectControlsResolver ObjectEnlargeControlsResolver

Available on PainterController, provided by the PainterControllerHelper extension

The function used to decide whether to enlarge the object controls or not from value.settings.object directly.
getter/setter pair
freeStyleColor Color

Available on PainterController, provided by the PainterControllerHelper extension

The color used for free-style drawing from value.settings.freeStyle directly.
getter/setter pair
freeStyleMode FreeStyleMode

Available on PainterController, provided by the PainterControllerHelper extension

The free-style painting mode from value.settings.freeStyle directly.
getter/setter pair
freeStyleSettings FreeStyleSettings

Available on PainterController, provided by the PainterControllerHelper extension

The free-style settings directly from the painter settings.
getter/setter pair
freeStyleStrokeWidth double

Available on PainterController, provided by the PainterControllerHelper extension

The stroke width used for free-style drawing from value.settings.freeStyle directly.
getter/setter pair
maxScale double

Available on PainterController, provided by the PainterControllerHelper extension

The maximum scale that the user can "zoom in" to from value.settings.scale directly.
getter/setter pair
minScale double

Available on PainterController, provided by the PainterControllerHelper extension

The minimum scale that the user can "zoom out" to from value.settings.scale directly.
getter/setter pair
objectLayoutAssist ObjectLayoutAssistSettings

Available on PainterController, provided by the PainterControllerHelper extension

The layout-assist settings of the selected object drawable from value.settings.object directly.
getter/setter pair
objectSettings ObjectSettings

Available on PainterController, provided by the PainterControllerHelper extension

The object settings directly from the painter settings.
getter/setter pair
scaleSettings ScaleSettings

Available on PainterController, provided by the PainterControllerHelper extension

The scale settings directly from the painter settings.
getter/setter pair
scalingEnabled bool

Available on PainterController, provided by the PainterControllerHelper extension

Whether scaling is enabled or not from value.settings.scale directly.
getter/setter pair
settings PainterSettings

Available on PainterController, provided by the PainterControllerHelper extension

The current painter settings directly from value.
getter/setter pair
shapeFactory ShapeFactory<ShapeDrawable>?

Available on PainterController, provided by the PainterControllerHelper extension

The factory for the shape to be drawn from value.settings.shape directly.
getter/setter pair
shapePaint Paint?

Available on PainterController, provided by the PainterControllerHelper extension

The paint used to draw shapes from value.settings.shape directly.
getter/setter pair
shapeSettings ShapeSettings

Available on PainterController, provided by the PainterControllerHelper extension

The shape settings directly from the painter settings.
getter/setter pair
showObjectScaleRotationControlsResolver ObjectShowScaleRotationControlsResolver

Available on PainterController, provided by the PainterControllerHelper extension

The function used to decide whether to show scale and rotation object controls or not from value.settings.object directly.
getter/setter pair
textFocusNode FocusNode?

Available on PainterController, provided by the PainterControllerHelper extension

The focus node used to edit text drawables text from value.settings.text directly.
getter/setter pair
textSettings TextSettings

Available on PainterController, provided by the PainterControllerHelper extension

The text settings directly from the painter settings.
getter/setter pair
textStyle TextStyle

Available on PainterController, provided by the PainterControllerHelper extension

The text style to be used for text drawables from value.settings.text directly.
getter/setter pair