Package com.github.weisj.jsvg
Class SVGDocument
java.lang.Object
com.github.weisj.jsvg.SVGDocument
-
Method Summary
Modifier and TypeMethodDescription@NotNull Animation@NotNull Shape@NotNull ShapecomputeShape(@Nullable ViewBox viewBox) booleanvoidrender(@Nullable Component component, @NotNull Graphics2D graphics2D, @Nullable ViewBox bounds) voidrender(@Nullable JComponent component, @NotNull Graphics2D g) voidrenderWithPlatform(@NotNull PlatformSupport platformSupport, @NotNull Output output, @Nullable ViewBox bounds) voidrenderWithPlatform(@NotNull PlatformSupport platformSupport, @NotNull Output output, @Nullable ViewBox bounds, @Nullable AnimationState animationState) voidrenderWithPlatform(@NotNull PlatformSupport platformSupport, @NotNull Graphics2D graphics2D, @Nullable ViewBox bounds) @NotNull FloatSizesize()@NotNull ViewBoxviewBox()
-
Method Details
-
size
-
viewBox
-
computeShape
-
computeShape
-
isAnimated
public boolean isAnimated() -
animation
-
render
-
render
public void render(@Nullable @Nullable Component component, @NotNull @NotNull Graphics2D graphics2D, @Nullable @Nullable ViewBox bounds) -
renderWithPlatform
public void renderWithPlatform(@NotNull @NotNull PlatformSupport platformSupport, @NotNull @NotNull Graphics2D graphics2D, @Nullable @Nullable ViewBox bounds) -
renderWithPlatform
public void renderWithPlatform(@NotNull @NotNull PlatformSupport platformSupport, @NotNull @NotNull Output output, @Nullable @Nullable ViewBox bounds) -
renderWithPlatform
public void renderWithPlatform(@NotNull @NotNull PlatformSupport platformSupport, @NotNull @NotNull Output output, @Nullable @Nullable ViewBox bounds, @Nullable @Nullable AnimationState animationState)
-