Click or drag to resize

Telogis.GeoBase.Canvas.Shapes

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Canvas.Shapes Namespace

A namespace containing the classes for the different types of primitive shape that can be constructed on a Canvas object.

Classes
NameDescription
Canvas.Shapes.AbstractShapeAn 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.EllipseRepresents 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.ImageRepresents 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.LabelRepresents 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.PathRepresents 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.PolyLineRepresents 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.RectRepresents 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.