Package io.github.humbleui.skija
Class GradientStyle
- java.lang.Object
-
- io.github.humbleui.skija.GradientStyle
-
public class GradientStyle extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int_INTERPOLATE_PREMULMatrix33_localMatrixboolean_premulFilterTileMode_tileModestatic GradientStyleDEFAULT
-
Constructor Summary
Constructors Constructor Description GradientStyle(FilterTileMode tileMode, boolean premul, Matrix33 localMatrix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int_getFlags()float[]_getMatrixArray()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)Matrix33getLocalMatrix()FilterTileModegetTileMode()inthashCode()booleanisPremul()java.lang.StringtoString()GradientStylewithLocalMatrix(Matrix33 _localMatrix)GradientStylewithPremul(boolean _premul)GradientStylewithTileMode(FilterTileMode _tileMode)
-
-
-
Field Detail
-
_INTERPOLATE_PREMUL
@Internal public static final int _INTERPOLATE_PREMUL
- See Also:
- Constant Field Values
-
DEFAULT
public static GradientStyle DEFAULT
-
_tileMode
@Internal public final FilterTileMode _tileMode
-
_premul
@Internal public final boolean _premul
-
_localMatrix
@Internal public final Matrix33 _localMatrix
-
-
Constructor Detail
-
GradientStyle
public GradientStyle(FilterTileMode tileMode, boolean premul, Matrix33 localMatrix)
-
-
Method Detail
-
_getFlags
@Internal public int _getFlags()
-
_getMatrixArray
@Internal public float[] _getMatrixArray()
-
getTileMode
public FilterTileMode getTileMode()
-
isPremul
public boolean isPremul()
-
getLocalMatrix
public Matrix33 getLocalMatrix()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withTileMode
public GradientStyle withTileMode(FilterTileMode _tileMode)
- Returns:
this.
-
withPremul
public GradientStyle withPremul(boolean _premul)
- Returns:
this.
-
withLocalMatrix
public GradientStyle withLocalMatrix(Matrix33 _localMatrix)
- Returns:
this.
-
-