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

Vertical Anchor (enum jsgl.Vertical Anchor)

jsgl.VerticalAnchor is an enumeration type for specifying vertical-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
TOP Default in most situations. Says the element will be positioned relatively to its top front.
MIDDLE The element will be positioned relatively to the middle of the vertical center of it.
BOTTOM The element will be positioned relatively to the bottom front of it.
 
vertical-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