Record Class SyPaintFlat
java.lang.Object
java.lang.Record
com.io7m.jsycamore.api.rendering.SyPaintFlat
- Record Components:
color- The color
- All Implemented Interfaces:
SyPaintEdgeType, SyPaintFillType, SyPaintType
public record SyPaintFlat(com.io7m.jtensors.core.parameterized.vectors.PVector4D<SySpaceRGBAPreType> color)
extends Record
implements SyPaintFillType, SyPaintEdgeType
A simple flat color paint.
-
Constructor Summary
ConstructorsConstructorDescriptionSyPaintFlat(com.io7m.jtensors.core.parameterized.vectors.PVector4D<SySpaceRGBAPreType> color) A simple flat color paint. -
Method Summary
Modifier and TypeMethodDescriptioncom.io7m.jtensors.core.parameterized.vectors.PVector4D<SySpaceRGBAPreType> color()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SyPaintFlat
public SyPaintFlat(com.io7m.jtensors.core.parameterized.vectors.PVector4D<SySpaceRGBAPreType> color) A simple flat color paint.- Parameters:
color- The color
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
color
-