Package com.raylib

Class Raylib.Rectangle

java.lang.Object
org.bytedeco.javacpp.Pointer
com.raylib.Raylib.Rectangle
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
Jaylib.Rectangle
Enclosing class:
Raylib

public static class Raylib.Rectangle extends org.bytedeco.javacpp.Pointer
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer

    org.bytedeco.javacpp.Pointer.CustomDeallocator, org.bytedeco.javacpp.Pointer.Deallocator, org.bytedeco.javacpp.Pointer.NativeDeallocator, org.bytedeco.javacpp.Pointer.ReferenceCounter
  • Field Summary

    Fields inherited from class org.bytedeco.javacpp.Pointer

    address, capacity, limit, position
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default native constructor.
    Rectangle​(long size)
    Native array allocator.
    Rectangle​(org.bytedeco.javacpp.Pointer p)
    Pointer cast constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    getPointer​(long i)
     
    float
     
    height​(float setter)
     
    position​(long position)
     
    float
     
    width​(float setter)
     
    float
    x()
     
    x​(float setter)
     
    float
    y()
     
    y​(float setter)
     

    Methods inherited from class org.bytedeco.javacpp.Pointer

    address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Rectangle

      public Rectangle()
      Default native constructor.
    • Rectangle

      public Rectangle(long size)
      Native array allocator. Access with Pointer.position(long).
    • Rectangle

      public Rectangle(org.bytedeco.javacpp.Pointer p)
      Pointer cast constructor. Invokes Pointer(Pointer).
  • Method Details

    • position

      public Raylib.Rectangle position(long position)
      Overrides:
      position in class org.bytedeco.javacpp.Pointer
    • getPointer

      public Raylib.Rectangle getPointer(long i)
      Overrides:
      getPointer in class org.bytedeco.javacpp.Pointer
    • x

      public float x()
    • x

      public Raylib.Rectangle x(float setter)
    • y

      public float y()
    • y

      public Raylib.Rectangle y(float setter)
    • width

      public float width()
    • width

      public Raylib.Rectangle width(float setter)
    • height

      public float height()
    • height

      public Raylib.Rectangle height(float setter)