Class Pattern

All Implemented Interfaces:
PointerInterface

public class Pattern extends Record
  • Constructor Details

    • Pattern

      public Pattern(PointerContainer pointer)
    • Pattern

      public Pattern(double x0, double y0, double x1, double y1)
      Parameters:
      x0 -
      y0 -
      x1 -
      y1 -
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • createForSurfacePattern

      public static Pattern createForSurfacePattern(@Nonnull Surface surface)
      Parameters:
      surface -
      Returns:
    • addColorStopRgb

      public void addColorStopRgb(double offset, double red, double green, double blue)
      Parameters:
      offset -
      red -
      green -
      blue -
    • addColorStopRgba

      public void addColorStopRgba(double offset, double red, double green, double blue, double alpha)
      Parameters:
      offset -
      red -
      green -
      blue -
      alpha -
    • setExtend

      public void setExtend(int extend)
      Parameters:
      extend -
    • destroy

      public void destroy()
      Description copied from class: Record
      Frees resources. Free memory allocated for this record. Object is invalid afterwards and should not be accessed.
      Overrides:
      destroy in class Record
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()