The layer can have its size adjusted by a value measured in pixels. This can apply to the horizontal or vertical axis or both if necessary. The value can be positive or negative causing the layer to grow or shrink respectively.
Although the size changes, the top left corner will remain pinned to its current location growing or shrinking the layer to the right and bottom of its extent.
See also: | Layer.resizeTo() |
Prev | Home | Next |
Layer.releaseEvents() | Up | Layer.resizeTo() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |