java.lang.Object
com.github.weisj.jsvg.SVGDocument
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate float
computePlatformFontSize
(@NotNull PlatformSupport platformSupport, @NotNull Output output) @NotNull Shape
@NotNull Shape
computeShape
(@Nullable ViewBox viewBox) private @NotNull RenderContext
prepareRenderContext
(@NotNull PlatformSupport platformSupport, @NotNull Output output, @Nullable ViewBox bounds) void
render
(@Nullable Component component, @NotNull Graphics2D graphics2D, @Nullable ViewBox bounds) void
render
(@Nullable JComponent component, @NotNull Graphics2D g) void
render
(@Nullable JComponent component, @NotNull Graphics2D graphics2D, @Nullable ViewBox bounds) Deprecated.void
renderWithPlatform
(@NotNull PlatformSupport platformSupport, @NotNull Output output, @Nullable ViewBox bounds) void
renderWithPlatform
(@NotNull PlatformSupport platformSupport, @NotNull Graphics2D graphics2D, @Nullable ViewBox bounds) private void
setSVGRenderingHint
(@NotNull Graphics2D g, RenderingHints.Key key, @NotNull Object o) private void
setupSVGRenderingHints
(@NotNull Graphics2D g) @NotNull FloatSize
size()
@NotNull ViewBox
viewBox()
-
Field Details
-
DEBUG
private static final boolean DEBUG- See Also:
-
root
-
size
-
-
Constructor Details
-
SVGDocument
-
-
Method Details
-
size
-
viewBox
-
computeShape
-
computeShape
-
render
-
render
@Deprecated public void render(@Nullable @Nullable JComponent component, @NotNull @NotNull Graphics2D graphics2D, @Nullable @Nullable ViewBox bounds) Deprecated. -
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) -
prepareRenderContext
@NotNull private @NotNull RenderContext prepareRenderContext(@NotNull @NotNull PlatformSupport platformSupport, @NotNull @NotNull Output output, @Nullable @Nullable ViewBox bounds) -
setupSVGRenderingHints
-
setSVGRenderingHint
private void setSVGRenderingHint(@NotNull @NotNull Graphics2D g, @NotNull RenderingHints.Key key, @NotNull @NotNull Object o)
-