Package io.github.humbleui.skija.svg
Class SVGPreserveAspectRatio
- java.lang.Object
-
- io.github.humbleui.skija.svg.SVGPreserveAspectRatio
-
public class SVGPreserveAspectRatio extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description SVGPreserveAspectRatioAlign_alignSVGPreserveAspectRatioScale_scale
-
Constructor Summary
Constructors Constructor Description SVGPreserveAspectRatio()SVGPreserveAspectRatio(int align, int scale)SVGPreserveAspectRatio(SVGPreserveAspectRatioAlign align)SVGPreserveAspectRatio(SVGPreserveAspectRatioAlign align, SVGPreserveAspectRatioScale scale)SVGPreserveAspectRatio(SVGPreserveAspectRatioScale scale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)SVGPreserveAspectRatioAligngetAlign()SVGPreserveAspectRatioScalegetScale()inthashCode()java.lang.StringtoString()SVGPreserveAspectRatiowithAlign(SVGPreserveAspectRatioAlign _align)SVGPreserveAspectRatiowithScale(SVGPreserveAspectRatioScale _scale)
-
-
-
Field Detail
-
_align
@Internal public final SVGPreserveAspectRatioAlign _align
-
_scale
@Internal public final SVGPreserveAspectRatioScale _scale
-
-
Constructor Detail
-
SVGPreserveAspectRatio
@Internal public SVGPreserveAspectRatio(int align, int scale)
-
SVGPreserveAspectRatio
public SVGPreserveAspectRatio()
-
SVGPreserveAspectRatio
public SVGPreserveAspectRatio(SVGPreserveAspectRatioAlign align)
-
SVGPreserveAspectRatio
public SVGPreserveAspectRatio(SVGPreserveAspectRatioScale scale)
-
SVGPreserveAspectRatio
public SVGPreserveAspectRatio(SVGPreserveAspectRatioAlign align, SVGPreserveAspectRatioScale scale)
-
-
Method Detail
-
getAlign
public SVGPreserveAspectRatioAlign getAlign()
-
getScale
public SVGPreserveAspectRatioScale getScale()
-
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
-
withAlign
public SVGPreserveAspectRatio withAlign(SVGPreserveAspectRatioAlign _align)
- Returns:
this.
-
withScale
public SVGPreserveAspectRatio withScale(SVGPreserveAspectRatioScale _scale)
- Returns:
this.
-
-