Module com.github.weisj.jsvg
Class HasContextImpl
java.lang.Object
com.github.weisj.jsvg.nodes.prototype.impl.HasContextImpl
- All Implemented Interfaces:
HasContext
,HasFillRule
,HasFontContext
,HasFontRenderContext
,HasPaintContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasContext
HasContext.ByDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @NotNull FillRule
private final @NotNull FontRenderContext
private final @NotNull AttributeFontSpec
private final @NotNull PaintContext
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
HasContextImpl
(@NotNull PaintContext paintContext, @NotNull FontRenderContext fontRenderContext, @NotNull AttributeFontSpec fontSpec, @NotNull FillRule fillRule) -
Method Summary
Modifier and TypeMethodDescription@NotNull FillRule
fillRule()
@NotNull FontRenderContext
@NotNull Mutator
<MeasurableFontSpec> fontSpec()
@NotNull Mutator
<PaintContext> static @NotNull HasContext
parse
(@NotNull AttributeNode attributeNode)
-
Field Details
-
paintContext
-
fontRenderContext
-
fontSpec
-
fillRule
-
-
Constructor Details
-
HasContextImpl
private HasContextImpl(@NotNull @NotNull PaintContext paintContext, @NotNull @NotNull FontRenderContext fontRenderContext, @NotNull @NotNull AttributeFontSpec fontSpec, @NotNull @NotNull FillRule fillRule)
-
-
Method Details
-
parse
-
fillRule
- Specified by:
fillRule
in interfaceHasFillRule
-
fontSpec
- Specified by:
fontSpec
in interfaceHasFontContext
-
fontRenderContext
- Specified by:
fontRenderContext
in interfaceHasFontRenderContext
-
paintContext
- Specified by:
paintContext
in interfaceHasPaintContext
-