Class ShapeOutput
java.lang.Object
com.github.weisj.jsvg.renderer.output.impl.ShapeOutput
- All Implemented Interfaces:
Output
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Output
Output.SafeState -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @NotNull Areaprivate @Nullable Shapeprivate @NotNull Strokeprivate @NotNull AffineTransform -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateShapeOutput(@NotNull ShapeOutput parent) ShapeOutput(@NotNull Area area) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate voidappend(@NotNull Shape shape, @NotNull AffineTransform transform) voidvoidapplyOpacity(float opacity) voidapplyTransform(@NotNull AffineTransform transform) @NotNull Rectangle2D@NotNull OutputfloatvoiddebugPaint(@NotNull Consumer<Graphics2D> painter) voiddispose()voiddrawImage(@NotNull Image image, @NotNull AffineTransform at, @Nullable ImageObserver observer) voiddrawImage(@NotNull Image image, @Nullable ImageObserver observer) voiddrawImage(@NotNull BufferedImage image) voidvoidboolean@Nullable ObjectrenderingHint(@NotNull RenderingHints.Key key) @Nullable RenderingHintsvoidrotate(double angle) @NotNull Output.SafeStatevoidscale(double sx, double sy) voidvoidvoidSet the paint used for the output.voidsetRenderingHint(@NotNull RenderingHints.Key key, @Nullable Object value) voidvoidsetTransform(@NotNull AffineTransform affineTransform) @NotNull Strokestroke()booleanboolean@NotNull AffineTransformvoidtranslate(double dx, double dy) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Output
hasMaskedPaint, textOutput
-
Field Details
-
accumulatorShape
-
currentTransform
-
currentStroke
-
currentClip
-
-
Constructor Details
-
ShapeOutput
-
ShapeOutput
-
-
Method Details
-
addShape
-
append
-
append
-
fillShape
-
drawShape
-
drawImage
-
drawImage
-
drawImage
public void drawImage(@NotNull @NotNull Image image, @NotNull @NotNull AffineTransform at, @Nullable @Nullable ImageObserver observer) -
setPaint
-
setPaint
Description copied from interface:OutputSet 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. -
setStroke
-
stroke
-
applyClip
-
setClip
-
contextFontSize
- Specified by:
contextFontSizein interfaceOutput
-
createChild
- Specified by:
createChildin interfaceOutput
-
dispose
-
debugPaint
- Specified by:
debugPaintin interfaceOutput
-
clipBounds
- Specified by:
clipBoundsin interfaceOutput
-
renderingHints
- Specified by:
renderingHintsin interfaceOutput
-
renderingHint
- Specified by:
renderingHintin interfaceOutput
-
setRenderingHint
- Specified by:
setRenderingHintin interfaceOutput
-
transform
-
setTransform
- Specified by:
setTransformin interfaceOutput
-
applyTransform
- Specified by:
applyTransformin interfaceOutput
-
rotate
-
scale
-
translate
-
currentOpacity
public float currentOpacity()- Specified by:
currentOpacityin interfaceOutput
-
applyOpacity
public void applyOpacity(float opacity) - Specified by:
applyOpacityin interfaceOutput
-
safeState
-
supportsFilters
public boolean supportsFilters()- Specified by:
supportsFiltersin interfaceOutput
-
supportsColors
public boolean supportsColors()- Specified by:
supportsColorsin interfaceOutput
-
isSoftClippingEnabled
public boolean isSoftClippingEnabled()- Specified by:
isSoftClippingEnabledin interfaceOutput
-