- All Known Implementing Classes:
Graphics2DOutput
,ShapeOutput
public interface Output
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
applyOpacity
(float opacity) void
applyTransform
(@NotNull AffineTransform transform) @NotNull Rectangle2D
@NotNull Output
float
void
debugPaint
(@NotNull Consumer<Graphics2D> painter) void
dispose()
void
drawImage
(@NotNull Image image, @NotNull AffineTransform at, @Nullable ImageObserver observer) void
drawImage
(@NotNull Image image, @Nullable ImageObserver observer) void
drawImage
(@NotNull BufferedImage image) void
void
default boolean
default boolean
@Nullable Object
@Nullable RenderingHints
void
rotate
(double angle) @NotNull Output.SafeState
void
scale
(double sx, double sy) void
void
Set the paint used for the output.void
void
setRenderingHint
(RenderingHints.Key key, @Nullable Object value) void
void
setTransform
(@NotNull AffineTransform affineTransform) @NotNull Stroke
stroke()
boolean
boolean
@NotNull AffineTransform
void
translate
(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()
-