Class AwtComponentPlatformSupport
- java.lang.Object
-
- com.github.weisj.jsvg.renderer.awt.AwtComponentPlatformSupport
-
- All Implemented Interfaces:
PlatformSupport
public final class AwtComponentPlatformSupport extends java.lang.Object implements PlatformSupport
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.renderer.awt.PlatformSupport
PlatformSupport.TargetSurface
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull java.awt.Component
component
-
Constructor Summary
Constructors Constructor Description AwtComponentPlatformSupport(@NotNull java.awt.Component component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.awt.Image
createImage(@NotNull java.awt.image.ImageProducer imageProducer)
float
fontSize()
@NotNull java.awt.image.ImageObserver
imageObserver()
boolean
isLongLived()
@NotNull PlatformSupport.TargetSurface
targetSurface()
java.lang.String
toString()
-
-
-
Method Detail
-
fontSize
public float fontSize()
- Specified by:
fontSize
in interfacePlatformSupport
-
targetSurface
@NotNull public @NotNull PlatformSupport.TargetSurface targetSurface()
- Specified by:
targetSurface
in interfacePlatformSupport
-
isLongLived
public boolean isLongLived()
- Specified by:
isLongLived
in interfacePlatformSupport
-
imageObserver
@NotNull public @NotNull java.awt.image.ImageObserver imageObserver()
- Specified by:
imageObserver
in interfacePlatformSupport
-
createImage
@NotNull public @NotNull java.awt.Image createImage(@NotNull @NotNull java.awt.image.ImageProducer imageProducer)
- Specified by:
createImage
in interfacePlatformSupport
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-