Class PreserveAspectRatio
java.lang.Object
com.github.weisj.jsvg.attributes.PreserveAspectRatio
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumprivate static enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull PreserveAspectRatio.Alignfinal @NotNull PreserveAspectRatio.MeetOrSlice -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePreserveAspectRatio(@NotNull PreserveAspectRatio.Align align, @NotNull PreserveAspectRatio.MeetOrSlice meetOrSlice) -
Method Summary
Modifier and TypeMethodDescription@NotNull AffineTransformcomputeViewPortTransform(@NotNull FloatSize size, @NotNull ViewBox viewBox) booleaninthashCode()static @NotNull PreserveAspectRationone()static @NotNull PreserveAspectRatioparse(@Nullable String preserveAspectRation, @Nullable PreserveAspectRatio fallback, @NotNull AttributeParser parser) static @NotNull PreserveAspectRatioparse(@Nullable String preserveAspectRation, @NotNull AttributeParser parser) toString()
-
Field Details
-
align
-
meetOrSlice
-
-
Constructor Details
-
PreserveAspectRatio
private PreserveAspectRatio(@NotNull @NotNull PreserveAspectRatio.Align align, @NotNull @NotNull PreserveAspectRatio.MeetOrSlice meetOrSlice)
-
-
Method Details
-
none
-
parse
@NotNull public static @NotNull PreserveAspectRatio parse(@Nullable @Nullable String preserveAspectRation, @NotNull @NotNull AttributeParser parser) -
parse
@NotNull public static @NotNull PreserveAspectRatio parse(@Nullable @Nullable String preserveAspectRation, @Nullable @Nullable PreserveAspectRatio fallback, @NotNull @NotNull AttributeParser parser) -
equals
-
hashCode
-
computeViewPortTransform
@NotNull public @NotNull AffineTransform computeViewPortTransform(@NotNull @NotNull FloatSize size, @NotNull @NotNull ViewBox viewBox) -
toString
-