Direct Known Subclasses:
Camera, TextCanvas

public class TexturedRectangle extends AbstractCompositeShape
  • Field Details

    • topLeft

      public Point3D topLeft
    • topRight

      public Point3D topRight
    • bottomRight

      public Point3D bottomRight
    • bottomLeft

      public Point3D bottomLeft
    • textureTopLeft

      public Point2D textureTopLeft
    • textureTopRight

      public Point2D textureTopRight
    • textureBottomRight

      public Point2D textureBottomRight
    • textureBottomLeft

      public Point2D textureBottomLeft
  • Constructor Details

    • TexturedRectangle

      public TexturedRectangle(Transform transform)
    • TexturedRectangle

      public TexturedRectangle(Transform transform, int width, int height, int maxTextureUpscale)
    • TexturedRectangle

      public TexturedRectangle(Transform transform, int width, int height, int textureWidth, int textureHeight, int maxTextureUpscale)
  • Method Details

    • getTexture

      public Texture getTexture()
    • initialize

      public void initialize(double width, double height, int textureWidth, int textureHeight, int maxTextureUpscale)