| PREV CLASS Documentation homepage NEXT CLASS |
IlvObject | +--IlvRectangle
IlvView contains a unique
instance of IlvRectangle, to provide its interactors with
a means of drawing rectangles.
Note: This class can only be instantiated in the BODY part
of an HTML document. However, once instantiated, no method
should be invoked inside the BODY part of the HTML document.
Any methods can be invoked in the onload callback of the BODY. | Constructor Summary | |
|---|---|
IlvRectangle(init, fillOn)
|
|
| Method Summary | |
|---|---|
getBounds()
Returns the bounds of the rectangle. |
|
getScrollPosition()
Returns the scroll position of this IlvRectangle. |
|
getThickness(thickness)
Returns the border thickness of this IlvRectangle. |
|
isVisible()
Returns the visibility of this IlvRectangle. |
|
setBounds(left, top, width, height)
Reshapes this IlvRectangle. |
|
setClip(left, top, width, height)
Sets the clip for this rectangle. |
|
setColor(color)
Sets the color of this IlvRectangle. |
|
setScrollPosition(x, y)
Sets the scroll position of this IlvRectangle. |
|
setThickness(thickness)
Sets the border thickness of this IlvRectangle. |
|
setVisible(visible)
Sets the visibility of this IlvRectangle. |
|
| Constructor Detail |
IlvRectangle(init, fillOn)
| Method Detail |
getBounds()
getScrollPosition()
IlvRectangle.
Note: Modifying the returned object has no impact on the scroll position of
the rectangle. To modify the scroll position, use
setScrollPosition. x and y.
getThickness(thickness)
isVisible()
setBounds(left, top, width, height)
left - Position of the left side, relative to the upper-left corner
of the window.top - Position of the top side, relative to the upper-left corner of
the window.width - The width in pixels.height - The height in pixels.setClip(left, top, width, height)
left - Position of the left side, relative to the upper-left corner
of the window.top - Position of the top side, relative to the upper-left corner of
the window.width - The width in pixels.height - The height in pixels.setColor(color)
IlvRectangle.
Note: The default color is black. color - A string describing the color. For example, "#FFFFFF"
corresponds to white.setScrollPosition(x, y)
IlvRectangle. x - The scroll position along the x-axis, relative to the top of the
panel.y - The scroll position along the y-axis, relative to the left side of
the panel.
setThickness(thickness)
setVisible(visible)
| Inherited Methods from IlvObject |
| PREV CLASS Documentation homepage NEXT CLASS |