public interface AttributeReadLengthProperty
length
of an object.Modifier and Type | Method and Description |
---|---|
Length |
getLength(LengthProperty property)
This method gets the
Length for the given LengthProperty of this object. |
Length getLength(LengthProperty property)
Length
for the given LengthProperty
of this object. getLength
(LengthProperty.WIDTH
)
will return the same result as AttributeReadSize.getWidth()
. Unlike AttributeReadSize
this method provides access to additional properties such as e.g. LengthProperty.MIN_WIDTH
or
LengthProperty.MAX_HEIGHT
.property
- is the LengthProperty
identifying the actual property to get.Length
. Will be Length.ZERO
if undefined (NOT set).Copyright © 2001–2016 mmm-Team. All rights reserved.