Class HasContextImpl
- java.lang.Object
-
- com.github.weisj.jsvg.nodes.prototype.impl.HasContextImpl
-
- All Implemented Interfaces:
HasContext
,HasFillRule
,HasFontContext
,HasFontRenderContext
,HasPaintContext
public final class HasContextImpl extends java.lang.Object implements HasContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasContext
HasContext.ByDelegate
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull FillRule
fillRule
private @NotNull FontRenderContext
fontRenderContext
private @NotNull AttributeFontSpec
fontSpec
private @NotNull PaintContext
paintContext
-
Constructor Summary
Constructors Modifier Constructor Description private
HasContextImpl(@NotNull PaintContext paintContext, @NotNull FontRenderContext fontRenderContext, @NotNull AttributeFontSpec fontSpec, @NotNull FillRule fillRule)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull FillRule
fillRule()
@NotNull FontRenderContext
fontRenderContext()
@NotNull Mutator<MeasurableFontSpec>
fontSpec()
@NotNull Mutator<PaintContext>
paintContext()
static @NotNull HasContext
parse(@NotNull AttributeNode attributeNode)
-
-
-
Field Detail
-
paintContext
@NotNull private final @NotNull PaintContext paintContext
-
fontRenderContext
@NotNull private final @NotNull FontRenderContext fontRenderContext
-
fontSpec
@NotNull private final @NotNull AttributeFontSpec fontSpec
-
fillRule
@NotNull private final @NotNull FillRule fillRule
-
-
Constructor Detail
-
HasContextImpl
private HasContextImpl(@NotNull @NotNull PaintContext paintContext, @NotNull @NotNull FontRenderContext fontRenderContext, @NotNull @NotNull AttributeFontSpec fontSpec, @NotNull @NotNull FillRule fillRule)
-
-
Method Detail
-
parse
@NotNull public static @NotNull HasContext parse(@NotNull @NotNull AttributeNode attributeNode)
-
fillRule
@NotNull public @NotNull FillRule fillRule()
- Specified by:
fillRule
in interfaceHasFillRule
-
fontSpec
@NotNull public @NotNull Mutator<MeasurableFontSpec> fontSpec()
- Specified by:
fontSpec
in interfaceHasFontContext
-
fontRenderContext
@NotNull public @NotNull FontRenderContext fontRenderContext()
- Specified by:
fontRenderContext
in interfaceHasFontRenderContext
-
paintContext
@NotNull public @NotNull Mutator<PaintContext> paintContext()
- Specified by:
paintContext
in interfaceHasPaintContext
-
-