MCPcopy Create free account
hub / github.com/HumbleUI/Skija / getIntercepts

Method getIntercepts

shared/java/TextLine.java:176–179  ·  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

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

Callers 3

drawMethod · 0.45
drawBoundsMethod · 0.45

Calls 2

getTextBlobMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected