IlvObject | +--IlvSelection | +--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 Attributes | Constructor Name and Description |
---|---|
IlvRectangle(init, parentNode, fillOn)
|
Method Attributes | Method Name and Description |
---|---|
Returns the bounds of the rectangle.
|
|
Returns the scroll position of this
IlvRectangle . |
|
getThickness(thickness)
Returns the border thickness of this IlvRectangle.
|
|
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.
|
getObjectID, getObjectProperties, getObjectProperty, getObjectPropertyNames, getObjectTag, getObjectType, getProperties, setObjectProperties, setObjectProperty, setResizable |
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
true
to create a filled rectangle.
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
.IlvRectangle
.
Note: The default color is black.
IlvRectangle
.