Telogis.GeoBase.Canvas.Shapes | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release A namespace containing the classes for the different types of primitive shape that can be constructed
on a Canvas object.
Classes Name | Description |
---|
Canvas.Shapes.AbstractShape | An abstract base class for every type of primitive, defining the basic functionality and structure
common to all. Derivations of this should be created and returned by Canvas
drawing calls, and never constructed explicitly. Their properties may be manipulated directly, but changes
to them will only be made visible once Canvas.Shapes.AbstractShape.draw is called
(usually from Canvas.update. This constructor performs the registration of the
Canvas.Shapes.AbstractShape within the calling Canvas,
and also sets up the DOM sub-tree for the shape, if necessary. |
Canvas.Shapes.Ellipse | Represents an ellipse of standard (horizontal) orientation, as displayed in a
Canvas renderer. This should not be constructed explicitly, but rather
generated as the result of a call to Canvas.ellipse or
Canvas.circle. |
Canvas.Shapes.Image | Represents an image, as displayed in a Canvas renderer.
This should not be constructed explicitly, but rather generated as the result of a
call to Canvas.image. |
Canvas.Shapes.Label | Represents a label, as displayed in a
Canvas renderer. This should not be constructed explicitly, but rather
generated as the result of a call to Canvas.Label. |
Canvas.Shapes.Path | Represents an arbitrary figure described by a sequence of commands, as displayed in a
Canvas renderer. This should not be constructed explicitly, but rather
generated as the result of a call to Canvas.path. |
Canvas.Shapes.PolyLine | Represents a polyline between a collection of arbitrary points, as displayed in a
Canvas renderer. This should not be constructed explicitly, but rather
generated as the result of a call to Canvas.polyline. |
Canvas.Shapes.Rect | Represents a rectangle of standard (horizontal-vertical) orientation, as displayed in a
Canvas renderer. This should not be constructed explicitly, but rather
generated as the result of a call to Canvas.rect. |