scalesWhenResized
Returns a Boolean value that indicates whether to scale image representations to fit the image’s size.
Declaration
- (BOOL) scalesWhenResized;Return Value
true if image representations are scaled to fit the receiver; otherwise, false. The default value is false.
Discussion
Images are not resized during drawing if this method returns true. They are only resized when you assign a new value to the size property.
See Also
Related Documentation
Instance Methods
lockFocus()lockFocusFlipped(_:)unlockFocus()init(iconRef:)lockFocusOnRepresentation:bestRepresentationForDevice:compositeToPoint:operation:compositeToPoint:fromRect:operation:compositeToPoint:fromRect:operation:fraction:compositeToPoint:operation:fraction:dissolveToPoint:fraction:dissolveToPoint:fromRect:fraction:setScalesWhenResized:setDataRetained:isDataRetained