java.lang.Object
com.github.weisj.jsvg.attributes.PreserveAspectRatio
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
private static enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull PreserveAspectRatio.Align
final @NotNull PreserveAspectRatio.MeetOrSlice
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
PreserveAspectRatio
(@NotNull PreserveAspectRatio.Align align, @NotNull PreserveAspectRatio.MeetOrSlice meetOrSlice) -
Method Summary
Modifier and TypeMethodDescription@NotNull AffineTransform
computeViewPortTransform
(@NotNull FloatSize size, @NotNull ViewBox viewBox) boolean
int
hashCode()
static @NotNull PreserveAspectRatio
none()
static @NotNull PreserveAspectRatio
parse
(@Nullable String preserveAspectRation, @NotNull AttributeParser parser) static @NotNull PreserveAspectRatio
parse
(@Nullable String preserveAspectRation, @Nullable PreserveAspectRatio fallback, @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
public int hashCode() -
computeViewPortTransform
@NotNull public @NotNull AffineTransform computeViewPortTransform(@NotNull @NotNull FloatSize size, @NotNull @NotNull ViewBox viewBox) -
toString
-