Uses of Class
com.github.weisj.jsvg.geometry.size.Percentage
-
Packages that use Percentage Package Description com.github.weisj.jsvg.attributes.font com.github.weisj.jsvg.geometry.size com.github.weisj.jsvg.nodes com.github.weisj.jsvg.parser.impl -
-
Uses of Percentage in com.github.weisj.jsvg.attributes.font
Fields in com.github.weisj.jsvg.attributes.font declared as Percentage Modifier and Type Field Description private @NotNull Percentage
FontStretch. percentage
protected @NotNull Percentage
FontSpec. stretch
Methods in com.github.weisj.jsvg.attributes.font that return Percentage Modifier and Type Method Description static @NotNull Percentage
FontParser. parseStretch(@NotNull AttributeNode node)
@NotNull Percentage
FontStretch. percentage()
@NotNull Percentage
MeasurableFontSpec. stretch()
Constructors in com.github.weisj.jsvg.attributes.font with parameters of type Percentage Constructor Description AttributeFontSpec(@NotNull java.lang.String[] families, @Nullable FontStyle style, @Nullable Length sizeAdjust, @NotNull Percentage stretch, @Nullable FontSize size, @Nullable FontWeight weight)
FontSpec(@NotNull java.lang.String[] families, @Nullable FontStyle style, @Nullable Length sizeAdjust, @NotNull Percentage stretch)
MeasurableFontSpec(@NotNull java.lang.String[] families, @Nullable FontStyle style, @Nullable Length sizeAdjust, @NotNull Percentage stretch, int currentWeight, @NotNull Length currentSize)
-
Uses of Percentage in com.github.weisj.jsvg.geometry.size
Fields in com.github.weisj.jsvg.geometry.size declared as Percentage Modifier and Type Field Description static @NotNull Percentage
Percentage. INHERITED
static @NotNull Percentage
Percentage. ONE
static @NotNull Percentage
Percentage. UNSPECIFIED
static @NotNull Percentage
Percentage. ZERO
Methods in com.github.weisj.jsvg.geometry.size that return Percentage Modifier and Type Method Description @NotNull Percentage
Percentage. orElseIfUnspecified(float value)
Methods in com.github.weisj.jsvg.geometry.size with parameters of type Percentage Modifier and Type Method Description int
Percentage. compareTo(@NotNull Percentage o)
-
Uses of Percentage in com.github.weisj.jsvg.nodes
Fields in com.github.weisj.jsvg.nodes declared as Percentage Modifier and Type Field Description private Percentage
Stop. offset
private Percentage[]
AbstractGradient. offsets
Methods in com.github.weisj.jsvg.nodes that return Percentage Modifier and Type Method Description @NotNull Percentage
Stop. offset()
Percentage[]
AbstractGradient. offsets()
Methods in com.github.weisj.jsvg.nodes with parameters of type Percentage Modifier and Type Method Description protected abstract @NotNull java.awt.Paint
AbstractGradient. gradientForBounds(@NotNull MeasureContext measure, @NotNull java.awt.geom.Rectangle2D bounds, Percentage[] gradOffsets, @NotNull java.awt.Color[] gradColors)
protected @NotNull java.awt.Paint
LinearGradient. gradientForBounds(@NotNull MeasureContext measure, @NotNull java.awt.geom.Rectangle2D bounds, Percentage[] gradOffsets, @NotNull java.awt.Color[] gradColors)
protected @NotNull java.awt.Paint
RadialGradient. gradientForBounds(@NotNull MeasureContext measure, @NotNull java.awt.geom.Rectangle2D bounds, Percentage[] gradOffsets, @NotNull java.awt.Color[] gradColors)
private static void
AbstractGradient. makeStrictlyIncreasing(@NotNull Percentage @NotNull [] offsets)
protected float[]
AbstractGradient. offsetsToFractions(Percentage[] gradOffsets)
Method parameters in com.github.weisj.jsvg.nodes with type arguments of type Percentage Modifier and Type Method Description private static boolean
AbstractGradient. isEffectiveStop(float stopOffset, @NotNull java.awt.Color stopColor, @NotNull java.util.List<@NotNull Percentage> offsetsList, @NotNull java.util.List<@NotNull java.awt.Color> colorsList)
-
Uses of Percentage in com.github.weisj.jsvg.parser.impl
Fields in com.github.weisj.jsvg.parser.impl declared as Percentage Modifier and Type Field Description private static Percentage
AttributeNode. FALLBACK_PERCENTAGE
Methods in com.github.weisj.jsvg.parser.impl that return Percentage Modifier and Type Method Description @Nullable Percentage
AttributeNode. getPercentage(@NotNull java.lang.String key, @Nullable Percentage fallback)
@Nullable Percentage
AttributeParser. parsePercentage(@Nullable java.lang.String value, @Nullable Percentage fallback)
@Nullable Percentage
AttributeParser. parsePercentage(@Nullable java.lang.String value, @Nullable Percentage fallback, float min, float max)
Methods in com.github.weisj.jsvg.parser.impl with parameters of type Percentage Modifier and Type Method Description @Nullable Percentage
AttributeNode. getPercentage(@NotNull java.lang.String key, @Nullable Percentage fallback)
@Nullable Percentage
AttributeParser. parsePercentage(@Nullable java.lang.String value, @Nullable Percentage fallback)
@Nullable Percentage
AttributeParser. parsePercentage(@Nullable java.lang.String value, @Nullable Percentage fallback, float min, float max)
-