Class NTxSizeRef
java.lang.Object
net.thevpc.ntexup.api.util.NTxSizeRef
-
Constructor Summary
ConstructorsConstructorDescriptionNTxSizeRef(double parentWidth, double parentHeight) NTxSizeRef(double parentWidth, double parentHeight, double rootWidth, double rootHeight) -
Method Summary
Modifier and TypeMethodDescriptionapply(NTxDouble2 size) doubledoubledoubledoublenet.thevpc.nuts.util.NOptional<Double> net.thevpc.nuts.util.NOptional<Double>
-
Constructor Details
-
NTxSizeRef
public NTxSizeRef(double parentWidth, double parentHeight) -
NTxSizeRef
public NTxSizeRef(double parentWidth, double parentHeight, double rootWidth, double rootHeight)
-
-
Method Details
-
getRootWidth
public double getRootWidth() -
getRootHeight
public double getRootHeight() -
getParentWidth
public double getParentWidth() -
getParentHeight
public double getParentHeight() -
x
-
y
-
apply
-