MonobjcMonobjc Documented Class Library
DrawAtPointFromRectOperationFraction Method (point, srcRect, op, delta)
NamespacesMonobjc.AppKitNSImageDrawAtPointFromRectOperationFraction(NSPoint, NSRect, NSCompositingOperation, CGFloat)

Draws all or part of the image at the specified point in the current coordinate system.

Original signature is '- (void)drawAtPoint:(NSPoint)point fromRect:(NSRect)srcRect operation:(NSCompositingOperation)op fraction:(CGFloat)delta'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawAtPointFromRectOperationFraction(
	NSPoint point,
	NSRect srcRect,
	NSCompositingOperation op,
	CGFloat delta
)
Public Overridable Sub DrawAtPointFromRectOperationFraction ( _
	point As NSPoint, _
	srcRect As NSRect, _
	op As NSCompositingOperation, _
	delta As CGFloat _
)
public:
virtual void DrawAtPointFromRectOperationFraction(
	NSPoint point, 
	NSRect srcRect, 
	NSCompositingOperation op, 
	CGFloat delta
)
Parameters
point (NSPoint)
The location in the current coordinate system at which to draw the image.
srcRect (NSRect)
The source rectangle specifying the portion of the image you want to draw. The coordinates of this rectangle are specified in the image's own coordinate system. If you pass in NSZeroRect, the entire image is drawn.
op (NSCompositingOperation)
The compositing operation to use when drawing the image. See the NSCompositingOperation constants.
delta (CGFloat)
The opacity of the image, specified as a value from 0.0 to 1.0. Specifying a value of 0.0 draws the image as fully transparent while a value of 1.0 draws the image as fully opaque. Values greater than 1.0 are interpreted as 1.0.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)