You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ian Glen edited this page Aug 14, 2013
·
33 revisions
Dominion includes a graphics API used for drawing isometric graphics on the HTML5 canvas. It is used in everything from drawing the grid to converting between orthographic and isometric coordinate systems.
OrthographicPoint object
Defines a point in an orthographic (screen) coordinate system.
OrthographicPoint.x
Horizontal coordinate for the point.
OrthographicPoint.y
Vertical coordinate for the point.
IsometricPoint object
Defines a point in an isometric coordinate system.