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(int x,
int y) |
abstract void |
setSize(int width,
int 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, storeStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrotatepublic GuiShape(Face... faces)
public GuiShape(int faceCount)
public void setPosition(int x,
int 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(int width,
int height)
public abstract void scale(float x,
float y)