Instance Method
drawStack(for:supporting:penClass:secondaryPen:extraHandles:) drawStackForGroup:supporting:penClass:secondaryPen:extraHandles: drawStackForGroup_supporting_penClass_secondaryPen_extraHandles_
Creates painted drawing operations for a shape group.
Declaration
func drawStack(for group: GSShapeGroup, supporting supportedFeatures: GSDrawStackFeature, penClass: AnyClass, secondaryPen secondPen: (any GSPenProtocol & NSObjectProtocol)?, extraHandles: NSMutableArray?) -> [GSDrawSlice<AnyObject>]Declaration
- (NSArray<GSDrawSlice *> *) drawStackForGroup:(GSShapeGroup *) group supporting:(GSDrawStackFeature) supportedFeatures penClass:(Class) penClass secondaryPen:(NSObject<GSPenProtocol> *) secondPen extraHandles:(NSMutableArray *) extraHandles;Declaration
drawStackForGroup_supporting_penClass_secondaryPen_extraHandles_(group: GSShapeGroup, supportedFeatures: GSDrawStackFeature, penClass: type, secondPen: NSObject<GSPenProtocol>, extraHandles: list) -> list[GSDrawSlice]Parameters
groupThe shape group to process.
supportedFeaturesThe draw-stack features the consumer can process.
penClassA pen class used to collect path drawing operations.
secondPenA pen that receives auxiliary outlines.
extraHandlesA collection that receives generated interactive handles.
Discussion
Unsupported features are converted to simpler drawing operations where possible.
See Also
Draw Stack
The painted drawing operations for the complete layer.