Class SVGDocument
java.lang.Object
com.github.weisj.jsvg.SVGDocument
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Animationprivate floatcomputePlatformFontSize(@NotNull PlatformSupport platformSupport, @NotNull Output output) @NotNull Shape@NotNull ShapecomputeShape(@Nullable ViewBox viewBox) booleanprivate @NotNull RenderContextprepareRenderContext(@NotNull PlatformSupport platformSupport, @NotNull Output output, @Nullable ViewBox bounds, @Nullable AnimationState animationState) voidrender(@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()
-
Field Details
-
DEBUG
private static final boolean DEBUG- See Also:
-
root
-
size
-
-
Constructor Details
-
SVGDocument
-
-
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) -
computePlatformFontSize
private float computePlatformFontSize(@NotNull @NotNull PlatformSupport platformSupport, @NotNull @NotNull Output output) -
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) -
prepareRenderContext
@NotNull private @NotNull RenderContext prepareRenderContext(@NotNull @NotNull PlatformSupport platformSupport, @NotNull @NotNull Output output, @Nullable @Nullable ViewBox bounds, @Nullable @Nullable AnimationState animationState)
-