Contents

compositeToPoint:operation:fraction:

Composites the entire image at the specified opacity in the current coordinate system.

Declaration

- (void) compositeToPoint:(NSPoint) point operation:(NSCompositingOperation) operation fraction:(CGFloat) fraction;

Parameters

  • point:

    The point at which to draw the image, specified in the current coordinate system.

  • operation:

    The compositing operation to use when drawing the image to the screen. The supported compositing operations are described in Constants.

  • fraction:

    The desired opacity of the image, specified as a value between 0.0 and 1.0, with 1.0 representing total opacity. Values larger than 1.0 are interpreted as 1.0. This method always expects to render something, so for values that are equal to or less than 0, this method renders at full opacity.

Discussion

Behaves the same as compositeToPoint:operation: except that you can specify the amount of opacity to use when drawing the image.

See Also

Related Documentation

Instance Methods