---
title: "dissolveToPoint:fromRect:fraction:"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsimage/dissolvetopoint:fromrect:fraction:"
---

# dissolveToPoint:fromRect:fraction:

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

## Declaration

```occ
- (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

Discussion Except for the choice of compositing operator, this method behaves in the same way as the 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

### Related Documentation

- [dissolveToPoint:fraction:](appkit/nsimage/dissolvetopoint:fraction:.md)

### Instance Methods

- [lockFocus()](appkit/nsimage/lockfocus().md)
- [lockFocusFlipped(_:)](appkit/nsimage/lockfocusflipped(_:).md)
- [unlockFocus()](appkit/nsimage/unlockfocus().md)
- [init(iconRef:)](appkit/nsimage/init(iconref:).md)
- [lockFocusOnRepresentation:](appkit/nsimage/lockfocusonrepresentation:.md)
- [bestRepresentationForDevice:](appkit/nsimage/bestrepresentationfordevice:.md)
- [compositeToPoint:operation:](appkit/nsimage/compositetopoint:operation:.md)
- [compositeToPoint:fromRect:operation:](appkit/nsimage/compositetopoint:fromrect:operation:.md)
- [compositeToPoint:fromRect:operation:fraction:](appkit/nsimage/compositetopoint:fromrect:operation:fraction:.md)
- [compositeToPoint:operation:fraction:](appkit/nsimage/compositetopoint:operation:fraction:.md)
- [dissolveToPoint:fraction:](appkit/nsimage/dissolvetopoint:fraction:.md)
- [setScalesWhenResized:](appkit/nsimage/setscaleswhenresized:.md)
- [scalesWhenResized](appkit/nsimage/scaleswhenresized.md)
- [setDataRetained:](appkit/nsimage/setdataretained:.md)
- [isDataRetained](appkit/nsimage/isdataretained.md)
