Class UploadableOutline
java.lang.Object
dev.pfaff.altargui.uploadables.UploadableOutline
- All Implemented Interfaces:
Uploadable
The outlined area, as measured from the inner edges of the outline, will be the specified dimensions.
-
Field Summary
Fields inherited from interface dev.pfaff.altargui.uploadables.Uploadable
EMPTY_ARRAY, POSITION_LAYOUT, POSITION_PACKED_LAYOUT, UV_LAYOUT, UV_PACKED_LAYOUT, VERTEX_LAYOUT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
size()
The number of bytes that this consumer will provide the sink with uponUploadable.uploadTo(Sink)
.void
updateColor
(Color color) void
updatePositionSizeThickness
(float x, float y, float width, float height, float thickness) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.pfaff.altargui.uploadables.Uploadable
uSpecUploadAtUnchecked
-
Constructor Details
-
UploadableOutline
-
-
Method Details
-
updatePositionSizeThickness
public void updatePositionSizeThickness(float x, float y, float width, float height, float thickness) -
updateColor
- Parameters:
color
- RGBA
-
size
public int size()Description copied from interface:Uploadable
The number of bytes that this consumer will provide the sink with uponUploadable.uploadTo(Sink)
.- Specified by:
size
in interfaceUploadable
-
uploadTo
- Specified by:
uploadTo
in interfaceUploadable
-