public abstract class GuiShape extends Shape
| Modifier and Type | Class and Description |
|---|---|
static class |
GuiShape.GuiFace |
ITransformable.Alpha, ITransformable.Brightness, ITransformable.Color, ITransformable.Position<T>, ITransformable.Rotate, ITransformable.Scale, ITransformable.Size<T>, ITransformable.Translatefaces, mergedVertexes, transformMatrix| Constructor and Description |
|---|
GuiShape(Face... faces) |
GuiShape(int faceCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
rotate(float angle) |
void |
rotate(float angle,
float x,
float y,
float z)
Rotates this
Shape around the given axis the specified angle. |
void |
scale(float scale)
Scales this
Shape on all axis. |
abstract void |
scale(float x,
float y) |
void |
setPosition(float x,
float y) |
abstract void |
setSize(float width,
float height) |
void |
translate(float x,
float y,
float z)
Translates this
Shape. |
void |
translate(int x,
int y) |
addFaces, addFaces, applyMatrix, copyMatrix, deductParameters, enableMergedVertexes, fromShapes, getFace, getFaces, getFaces, getMergedVertex, getMergedVertexes, getMergedVertexes, getMergedVertexes, getVertexes, getVertexes, getVertexes, interpolateUV, limit, limit, removeFace, resetState, rotate, scale, scale, setBounds, setBounds, setParameters, setParameters, setSize, shrink, storeStatepublic GuiShape(Face... faces)
public GuiShape(int faceCount)
public void setPosition(float x,
float y)
public void translate(float x,
float y,
float z)
ShapeShape.translate in interface ITransformable.Translatetranslate in class Shapex - the xy - the yz - the zpublic void translate(int x,
int y)
public void rotate(float angle,
float x,
float y,
float z)
ShapeShape around the given axis the specified angle.public void rotate(float angle)
public void scale(float scale)
ShapeShape on all axis.public abstract void setSize(float width,
float height)
public abstract void scale(float x,
float y)