<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.6.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSImage/dissolveToPoint:fromRect:fraction:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSImage(im)dissolveToPoint:fromRect:fraction:"
  },
  "title" : "dissolveToPoint:fromRect:fraction:"
}
-->

# dissolveToPoint:fromRect:fraction:

Composites a portion of the image to the specified location using the source-over operator.

```
- (void) dissolveToPoint:(NSPoint) point fromRect:(NSRect) rect fraction:(CGFloat) fraction;
```

## Parameters

`point`

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

`rect`

The portion of the image you want to draw, specified in the image’s coordinate system.

`fraction`

The desired opacity of the image, specified as a value between 0.0 and 1.0. A value of 0.0 renders the image totally transparent while 1.0 renders it fully opaque. Values larger than 1.0 are interpreted as 1.0.

## Discussion

Except for the choice of compositing operator, this method behaves in the same way as the [`compositeToPoint:fromRect:operation:`](/documentation/AppKit/NSImage/compositeToPoint:fromRect:operation:) method. During printing, the `delta` parameter is ignored.

If the source image contains alpha information, this operation may promote the destination `NSWindow` object to contain alpha information.

## See Also

[`- (void) dissolveToPoint:(NSPoint) point fraction:(CGFloat) fraction;`](/documentation/AppKit/NSImage/dissolveToPoint:fraction:)

Composites the entire image to the specified location using the source-over operator.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)