Skip to content

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.

ReturnsSignatureSummary
voidapply(Shape shape, double threshold) staticColors every contour, with a new color after each corner sharper than that angle in radians.

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

Report a problem with this page