Drawable3D abstract class
The core interface for a 3D model that can be rendered onto a canvas. The Chart3D class implements this interface.
final Dimension3D dimensions #
Returns the dimensions of the object model. This is used to determine the minimum viewing distance, and also to auto-zoom the initial view to an appropriate size.
abstract num get projDist #
Returns the projection distance.
abstract void set projDist(num dist) #
Sets the projection distance.
Returns the offset from the center of the bounds for the rendering.
Sets the offset from the center of the bounds for the rendering.
abstract void draw(CanvasRenderingContext2D context, Rectangle bounds) #
Renders the 3D object model on a 2D canvas within the specified bounds, taking into account the current viewing point.