Record Class BakedGlyph.Rectangle

java.lang.Object
java.lang.Record
net.minecraft.client.font.BakedGlyph.Rectangle
Record Components:
minX -
minY -
maxX -
maxY -
zIndex -
color -
shadowColor -
shadowOffset -
Enclosing class:
BakedGlyph

@Environment(CLIENT) public static record BakedGlyph.Rectangle(float minX, float minY, float maxX, float maxY, float zIndex, int color, int shadowColor, float shadowOffset) extends Record
Mappings:
Namespace Name
named net/minecraft/client/font/BakedGlyph$Rectangle
intermediary net/minecraft/class_382$class_328
official frq$a
named minX
intermediary comp_3307
official a
named minY
intermediary comp_3308
official b
named maxX
intermediary comp_3309
official c
named maxY
intermediary comp_3310
official d
named zIndex
intermediary comp_3311
official e
named color
intermediary comp_3312
official f
named shadowColor
intermediary comp_3336
official g
named shadowOffset
intermediary comp_3337
official h
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    private final int
    The field for the color record component.
    private final float
    The field for the maxX record component.
    private final float
    The field for the maxY record component.
    private final float
    The field for the minX record component.
    private final float
    The field for the minY record component.
    private final int
    The field for the shadowColor record component.
    private final float
    The field for the shadowOffset record component.
    private final float
    The field for the zIndex record component.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Rectangle(float minX, float minY, float maxX, float maxY, float zIndex, int color)
     
    Rectangle(float float2, float float3, float float4, float float5, float float6, int int2, int int3, float float7)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    int
    Returns the value of the color record component.
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    (package private) boolean
     
    float
    Returns the value of the maxX record component.
    float
    Returns the value of the maxY record component.
    float
    Returns the value of the minX record component.
    float
    Returns the value of the minY record component.
    int
    Returns the value of the shadowColor record component.
    float
    Returns the value of the shadowOffset record component.
    final String
    Returns a string representation of this record class.
    float
    Returns the value of the zIndex record component.

    Methods inherited from class java.lang.Object Link icon

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details Link icon

    • minX Link icon

      private final float minX
      The field for the minX record component.
    • minY Link icon

      private final float minY
      The field for the minY record component.
    • maxX Link icon

      private final float maxX
      The field for the maxX record component.
    • maxY Link icon

      private final float maxY
      The field for the maxY record component.
    • zIndex Link icon

      private final float zIndex
      The field for the zIndex record component.
    • color Link icon

      private final int color
      The field for the color record component.
    • shadowColor Link icon

      private final int shadowColor
      The field for the shadowColor record component.
    • shadowOffset Link icon

      private final float shadowOffset
      The field for the shadowOffset record component.
  • Constructor Details Link icon

    • Rectangle Link icon

      public Rectangle(float minX, float minY, float maxX, float maxY, float zIndex, int color)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/font/BakedGlyph$Rectangle;<init>(FFFFFI)V
      intermediary <init> Lnet/minecraft/class_382$class_328;<init>(FFFFFI)V
      official <init> Lfrq$a;<init>(FFFFFI)V
    • Rectangle Link icon

      public Rectangle(float float2, float float3, float float4, float float5, float float6, int int2, int int3, float float7)
  • Method Details Link icon

    • hasShadow Link icon

      boolean hasShadow()
      Mappings:
      Namespace Name Mixin selector
      named hasShadow Lnet/minecraft/client/font/BakedGlyph$Rectangle;hasShadow()Z
      intermediary method_65183 Lnet/minecraft/class_382$class_328;method_65183()Z
      official i Lfrq$a;i()Z
    • toString Link icon

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • minX Link icon

      public float minX()
      Returns the value of the minX record component.
      Returns:
      the value of the minX record component
    • minY Link icon

      public float minY()
      Returns the value of the minY record component.
      Returns:
      the value of the minY record component
    • maxX Link icon

      public float maxX()
      Returns the value of the maxX record component.
      Returns:
      the value of the maxX record component
    • maxY Link icon

      public float maxY()
      Returns the value of the maxY record component.
      Returns:
      the value of the maxY record component
    • zIndex Link icon

      public float zIndex()
      Returns the value of the zIndex record component.
      Returns:
      the value of the zIndex record component
    • color Link icon

      public int color()
      Returns the value of the color record component.
      Returns:
      the value of the color record component
    • shadowColor Link icon

      public int shadowColor()
      Returns the value of the shadowColor record component.
      Returns:
      the value of the shadowColor record component
    • shadowOffset Link icon

      public float shadowOffset()
      Returns the value of the shadowOffset record component.
      Returns:
      the value of the shadowOffset record component