Instance Method
calculateIntersections(for:)calculateIntersectionsForLayer:calculateIntersectionsForLayer_
Calculates the intersections between the guide and a layer’s outlines.
Declaration
func calculateIntersections(for layer: GSLayer)Declaration
- (void) calculateIntersectionsForLayer:(GSLayer *) layer;Declaration
calculateIntersectionsForLayer_(layer: GSLayer)Parameters
layerThe layer whose outlines to intersect.
Discussion
Components are decomposed for the calculation. The result replaces intersections. If the layer has no bounds or the guide does not cross its bounds, intersections is set to nil.
See Also
Measurements and Grid
Whether distances between consecutive outline intersections are displayed.
The distance in font units between tick marks along a line guide.
The outline intersections calculated for the most recently supplied layer.