AbstractProtectedconstructorProtected AbstractbeginReturns true iff other can be rendered onto this without data loss.
AbstractclearAbstractdisplayAbstractdrawDraws a styled path. If within an object started by startObject, the resultant path may not be visible until endObject is called.
AbstractdrawStrokes a rectangle. Boundary lines have width [lineWidth] and are filled with [lineFill].
This is equivalent to drawPath(Path.fromRect(...).toRenderable(...)).
AbstractdrawNotes the end of an object.
Optional_loaderData: LoadSaveDataTablea map from strings to JSON-ifyable objects and contains properties attached to the object by whatever loader loaded the image. This is used to preserve attributes not supported by js-draw when loading/saving an image. Renderers may ignore this.
Optional_objectTags: string[]a list of labels (e.g. classNames) to be attached to the object.
Renderers may ignore this.
Protected AbstractendProtectedgetProtectedgetAbstractisProtected AbstractlineProtected AbstractmoveMUST throw if other and this are not of the same base class.
This should be called whenever a new object is being drawn.
The bounding box of the object to be drawn.
Optional_clip: booleanWhether content outside _boundingBox should be drawn. Renderers
that override this method are not required to support _clip.
Protected AbstracttraceProtected Abstracttrace
Abstract base class for renderers.
See
EditorImage.render