Class RectRenderer

java.lang.Object
dev.prozilla.pine.core.component.Component
dev.prozilla.pine.core.component.shape.RectRenderer
All Implemented Interfaces:
Destructible, Printable, ApplicationContext, ApplicationProvider, ComponentsContext, ComponentsProvider, EntityContext, EntityProvider, SceneContext, SceneProvider

public class RectRenderer extends Component
  • Field Details

    • size

      public Vector2f size
    • color

      public final Color color
    • DEFAULT_COLOR

      public static final Color DEFAULT_COLOR
  • Constructor Details

    • RectRenderer

      public RectRenderer(Vector2f size)
    • RectRenderer

      public RectRenderer(Vector2f size, Color color)