Class Raylib.Color

java.lang.Object
org.bytedeco.javacpp.Pointer
com.raylib.Raylib.Color
All Implemented Interfaces:
AutoCloseable
Enclosing class:
Raylib

public static class Raylib.Color 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.
    Color(long size)
    Native array allocator.
    Color(org.bytedeco.javacpp.Pointer p)
    Pointer cast constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    a()
     
    a(byte setter)
     
    byte
    b()
     
    b(byte setter)
     
    byte
    g()
     
    g(byte setter)
     
    getPointer(long i)
     
    position(long position)
     
    byte
    r()
     
    r(byte 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, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, 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

    • Color

      public Color()
      Default native constructor.
    • Color

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

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

    • position

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

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

      @Cast("unsigned char") public byte r()
    • r

      public Raylib.Color r(byte setter)
    • g

      @Cast("unsigned char") public byte g()
    • g

      public Raylib.Color g(byte setter)
    • b

      @Cast("unsigned char") public byte b()
    • b

      public Raylib.Color b(byte setter)
    • a

      @Cast("unsigned char") public byte a()
    • a

      public Raylib.Color a(byte setter)