Package com.github.weisj.jsvg.renderer
Interface Output
- All Known Implementing Classes:
Graphics2DOutput,ShapeOutput
public interface Output
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidapplyOpacity(float opacity) voidapplyTransform(@NotNull AffineTransform transform) @NotNull Rectangle2D@NotNull OutputfloatvoiddebugPaint(@NotNull Consumer<Graphics2D> painter) voiddispose()voiddrawImage(@NotNull BufferedImage image) voiddrawImage(@NotNull Image image, @NotNull AffineTransform at, @Nullable ImageObserver observer) voiddrawImage(@NotNull Image image, @Nullable ImageObserver observer) voidvoiddefault booleandefault boolean@Nullable Object@Nullable RenderingHintsvoidrotate(double angle) @NotNull Output.SafeStatevoidscale(double sx, double sy) voidvoidSet the paint used for the output.voidvoidsetRenderingHint(RenderingHints.Key key, @Nullable Object value) voidvoidsetTransform(@NotNull AffineTransform affineTransform) @NotNull Strokestroke()booleanboolean@NotNull AffineTransformvoidtranslate(double dx, double dy)
-
Method Details
-
fillShape
-
drawShape
-
drawImage
-
drawImage
-
drawImage
void drawImage(@NotNull @NotNull Image image, @NotNull @NotNull AffineTransform at, @Nullable @Nullable ImageObserver observer) -
setPaint
-
setPaint
Set the paint used for the output. Use this version if computing the paint is expensive. Outputs which don't support paints can avoid the computation.- Parameters:
paintProvider- The paint provider.
-
setStroke
-
stroke
-
applyClip
-
setClip
-
contextFontSize
-
createChild
-
dispose
void dispose() -
debugPaint
-
clipBounds
-
renderingHints
-
renderingHint
-
setRenderingHint
-
transform
-
setTransform
-
applyTransform
-
rotate
void rotate(double angle) -
scale
void scale(double sx, double sy) -
translate
void translate(double dx, double dy) -
currentOpacity
float currentOpacity() -
applyOpacity
void applyOpacity(float opacity) -
safeState
-
supportsFilters
boolean supportsFilters() -
supportsColors
boolean supportsColors() -
isSoftClippingEnabled
default boolean isSoftClippingEnabled() -
hasMaskedPaint
default boolean hasMaskedPaint()
-