MCPcopy Create free account
hub / github.com/JetBrains/skija / getIntercepts

Method getIntercepts

shared/java/TextLine.java:177–180  ·  view source on GitHub ↗

Returns the number of intervals that intersect bounds. bounds describes a pair of lines parallel to the text advance. The return array size is a multiple of two, and is at most twice the number of glyphs in the the blob. @param lowerBound lower line parallel to the advance @param upperBound

(float lowerBound, float upperBound)

Source from the content-addressed store, hash-verified

175 * @return intersections; may be null
176 */
177 @Nullable
178 public float[] getIntercepts(float lowerBound, float upperBound) {
179 return getIntercepts(lowerBound, upperBound, null);
180 }
181
182 /**
183 * <p>Returns the number of intervals that intersect bounds.

Callers 3

drawMethod · 0.45
drawBoundsMethod · 0.45

Calls 1

getTextBlobMethod · 0.95

Tested by

no test coverage detected