Class Shadow
- java.lang.Object
-
- io.github.humbleui.skija.paragraph.Shadow
-
public class Shadow extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description double_blurSigmaint_colorfloat_offsetXfloat_offsetY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)doublegetBlurSigma()intgetColor()io.github.humbleui.types.PointgetOffset()floatgetOffsetX()floatgetOffsetY()inthashCode()java.lang.StringtoString()ShadowwithBlurSigma(double _blurSigma)ShadowwithColor(int _color)ShadowwithOffsetX(float _offsetX)ShadowwithOffsetY(float _offsetY)
-
-
-
Method Detail
-
getOffset
public io.github.humbleui.types.Point getOffset()
-
getColor
public int getColor()
-
getOffsetX
public float getOffsetX()
-
getOffsetY
public float getOffsetY()
-
getBlurSigma
public double getBlurSigma()
-
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
-
withColor
public Shadow withColor(int _color)
- Returns:
this.
-
withOffsetX
public Shadow withOffsetX(float _offsetX)
- Returns:
this.
-
withOffsetY
public Shadow withOffsetY(float _offsetY)
- Returns:
this.
-
withBlurSigma
public Shadow withBlurSigma(double _blurSigma)
- Returns:
this.
-
-