VTypes - Release 1
Class org.violetlib.types.ScalingOption
Deprecated: ShowHide
-
-
|
Modifier and Type |
Static Method and Description |
|
fixed |
Create an option to scale by a fixed scale factor.
public static ScalingOption fixed(double scaleFactor)
throws IllegalArgumentException
-
Create an option to scale by a fixed scale factor.
- Parameters:
scaleFactor - The scale factor.
- Throws:
IllegalArgumentException - if the scale factor is zero or negative.
|
-
|
Modifier and Type |
Method and Description |
|
getScaleFactor |
double getScaleFactor()
If this scaling option corresponds to a specified scale factor, return the scale factor.
public double getScaleFactor()
-
If this scaling option corresponds to a specified scale factor, return the scale factor.
- Returns:
- the scale factor, or zero if this scaling option does not correspond to a specified scale factor.
|
|
isSpecified |
boolean isSpecified()
Return true if and only if this scaling option corresponds to a specified scale factor.
public boolean isSpecified()
-
Return true if and only if this scaling option corresponds to a specified scale factor.
|
|
toString |
|
-
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait