Class ScissorStack
java.lang.Object
dev.pfaff.altargui.internal.render.ScissorStack
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
int
length()
void
pop()
void
push
(float x, float y, float maxX, float maxY) float
topMaxX()
This is safe to call only whenisEmpty()
returnsfalse
.float
topMaxY()
This is safe to call only whenisEmpty()
returnsfalse
.float
topMinX()
This is safe to call only whenisEmpty()
returnsfalse
.float
topMinY()
This is safe to call only whenisEmpty()
returnsfalse
.
-
Constructor Details
-
ScissorStack
public ScissorStack()
-
-
Method Details
-
push
public void push(float x, float y, float maxX, float maxY) -
pop
public void pop() -
topMinX
public float topMinX()This is safe to call only whenisEmpty()
returnsfalse
. -
topMinY
public float topMinY()This is safe to call only whenisEmpty()
returnsfalse
. -
topMaxX
public float topMaxX()This is safe to call only whenisEmpty()
returnsfalse
. -
topMaxY
public float topMaxY()This is safe to call only whenisEmpty()
returnsfalse
. -
isEmpty
public boolean isEmpty() -
length
public int length()
-