Package | com.yworks.graph.drawing |
Interface | public interface ILabelInsetsProvider |
Implementations of this interface will be queried from an ILabel's lookup method.
See also
Method | Defined By | ||
---|---|---|---|
Returns the insets for the given label. | ILabelInsetsProvider |
getInsets | () | method |
public function getInsets(label:ILabel):IRectangle
Returns the insets for the given label.
Parameters
label:ILabel — The label to yield insets for.
|
IRectangle — A rectangle that describes the insets. x is the left inset, y is the top inset,
width is the right inset, and height is the bottom inset.
|