Instance Method
draw(withReferenceRect:environment:) drawWithReferenceRect:environment: drawWithReferenceRect_environment_
Draws the gradient in the current graphics context, transforming the gradient control points based on the given reference rectangle.
Declaration
func draw(
withReferenceRect referenceRect: NSRect,
environment: GSDrawEnvironment
)Declaration
- (void) drawWithReferenceRect:(NSRect) referenceRect
environment:(GSDrawEnvironment *) environment;Declaration
drawWithReferenceRect_environment_(
referenceRect: NSRect,
environment: GSDrawEnvironment
)