public interface IlvDefinitionRectInterface
IlvRect
. Through this interface, users
can access and change the exposed IlvRect
. Several graphic objects,
such as IlvArc
and IlvRectangularScale
, implement this interface
to expose its definition rectangle.
The definition rectangle is not the bounding box of the graphic object. It
lets users to position the graphic object more accurately than the bounding box.
The definition rectangle can be bigger than the bounding box such as in an
IlvArc
; It can also be smaller than the bounding box such as in
an IlvRectangularScale
. So the meaning of the definition rectangle
depends on its implementation in concrete graphic objects.
Modifier and Type | Method and Description |
---|---|
IlvRect |
getDefinitionRect()
Returns a copy of the definition rectangle.
|
IlvTransformer |
getDefinitionTransformer()
Returns the transformer to be applied to the definition of the object.
|
void |
setDefinitionRect(IlvRect rect)
Sets a new definition rectangle.
|
IlvRect getDefinitionRect()
void setDefinitionRect(IlvRect rect)
IlvRect
and does not use the specified instance.rect
- The new definition rectangle.IlvTransformer getDefinitionTransformer()
getDefinitionRect()
returns a transformed rectangle, this
function should return null
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.