JavaScript Graphics Library (JSGL.org) Draw and move interactive vector graphics easily in Javascript!

Horizontal Anchor (enum jsgl.HorizontalAnchor)

jsgl.HorizontalAnchor is an enumeration type for specifying horizontal-alignment of rectangular elements, such as the image element or the rectangle element.

See the examples how jsgl.HorizontalAnchor and jsgl.VerticalAnchor interact together at rectanle and image elements.

Public Static Fields

Name Description
LEFT Default in most situations. Says that the object will be positioned relatively to the horizontal left side of it.
CENTER The object will be positioned relatively to the horizontal center of it.
RIGHT The object will be positioned relatively to its horizontal right side.
 
horizontal-anchor.txt · Last modified: 2013/03/14 03:17 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Driven by DokuWiki Powered by PHP Valid XHTML 1.0 Valid CSS