Module com.github.weisj.jsvg
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.PlatformSupport
PlatformSupport.TargetSurface
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull java.awt.Componentcomponent
-
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.ImagecreateImage(@NotNull java.awt.image.ImageProducer imageProducer)floatfontSize()@NotNull java.awt.image.ImageObserverimageObserver()booleanisLongLived()@NotNull PlatformSupport.TargetSurfacetargetSurface()java.lang.StringtoString()
-
-
-
Method Detail
-
fontSize
public float fontSize()
- Specified by:
fontSizein interfacePlatformSupport
-
targetSurface
@NotNull public @NotNull PlatformSupport.TargetSurface targetSurface()
- Specified by:
targetSurfacein interfacePlatformSupport
-
isLongLived
public boolean isLongLived()
- Specified by:
isLongLivedin interfacePlatformSupport
-
imageObserver
@NotNull public @NotNull java.awt.image.ImageObserver imageObserver()
- Specified by:
imageObserverin interfacePlatformSupport
-
createImage
@NotNull public @NotNull java.awt.Image createImage(@NotNull @NotNull java.awt.image.ImageProducer imageProducer)- Specified by:
createImagein interfacePlatformSupport
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-