Class UploadableOutline

java.lang.Object
dev.pfaff.altargui.uploadables.UploadableOutline
All Implemented Interfaces:
Uploadable

public final class UploadableOutline extends Object implements Uploadable
The outlined area, as measured from the inner edges of the outline, will be the specified dimensions.
  • Constructor Details

    • UploadableOutline

      public UploadableOutline(Arena arena)
  • Method Details

    • updatePositionSizeThickness

      public void updatePositionSizeThickness(float x, float y, float width, float height, float thickness)
    • updateColor

      public void updateColor(Color color)
      Parameters:
      color - RGBA
    • size

      public int size()
      Description copied from interface: Uploadable
      The number of bytes that this consumer will provide the sink with upon Uploadable.uploadTo(Sink).
      Specified by:
      size in interface Uploadable
    • uploadTo

      public void uploadTo(Sink sink)
      Specified by:
      uploadTo in interface Uploadable