- java.lang.Object
-
- com.github.weisj.jsvg.nodes.AbstractSVGNode
-
- com.github.weisj.jsvg.nodes.container.BaseContainerNode<SVGNode>
-
- com.github.weisj.jsvg.nodes.container.ContainerNode
-
- com.github.weisj.jsvg.nodes.mesh.MeshPatch
-
@ElementCategories({}) @PermittedContent(categories=Descriptive, anyOf=Stop.class) public final class MeshPatch extends ContainerNode
-
-
Field Summary
Fields Modifier and Type Field Description (package private) @NotNull CoonPatchcoonPatch(package private) java.awt.Coloreastprivate static intMAX_DEPTH(package private) java.awt.Colornorth(package private) java.awt.Colorsouthstatic java.lang.StringTAG(package private) java.awt.Colorwest
-
Constructor Summary
Constructors Constructor Description MeshPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private @NotNull java.awt.ColorbilinearInterpolation(float dx, float dy)private intclampColor(float v)voidrenderPath(@NotNull Output output)private voidrenderPath(@NotNull Output output, @NotNull CoonPatch patch, float scaleX, float scaleY, int depth)@NotNull java.lang.StringtagName()-
Methods inherited from class com.github.weisj.jsvg.nodes.container.ContainerNode
children, doAdd
-
Methods inherited from class com.github.weisj.jsvg.nodes.container.BaseContainerNode
acceptChild, addChild, isAcceptableType
-
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, build, id, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Container
childrenOfType
-
-
-
-
Field Detail
-
TAG
public static final java.lang.String TAG
- See Also:
- Constant Field Values
-
MAX_DEPTH
private static final int MAX_DEPTH
- See Also:
- Constant Field Values
-
north
java.awt.Color north
-
east
java.awt.Color east
-
south
java.awt.Color south
-
west
java.awt.Color west
-
coonPatch
@NotNull final @NotNull CoonPatch coonPatch
-
-
Method Detail
-
tagName
@NotNull public @NotNull java.lang.String tagName()
-
renderPath
public void renderPath(@NotNull @NotNull Output output)
-
renderPath
private void renderPath(@NotNull @NotNull Output output, @NotNull @NotNull CoonPatch patch, float scaleX, float scaleY, int depth)
-
bilinearInterpolation
@NotNull private @NotNull java.awt.Color bilinearInterpolation(float dx, float dy)
-
clampColor
private int clampColor(float v)
-
-