Coloring
final class Coloring
Package: dev.joid.tool.msdf.geometry · Module: tool-msdf · Source: Coloring.java
Gives the edges of an outline the channels of the distance field, so that the corners stay sharp.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | apply(Shape shape, double threshold) static | Colors every contour, with a new color after each corner sharper than that angle in radians. |
Method details
Section titled “Method details”void apply(Shape shape, double threshold) static
Colors every contour, with a new color after each corner sharper than that angle in radians.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
