mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[ASCoreAnimationExtras] Update documentation for resizbale images #trivial (#492)
* Update documentation for resizbale images * Add documentation to ASDisplayNodeSetResizableContents
This commit is contained in:
committed by
Michael Schneider
parent
f58b0b3cd3
commit
6b3e2ba4e0
@@ -38,7 +38,12 @@ ASDISPLAYNODE_EXTERN_C_BEGIN
|
||||
@interface ASDisplayNode (ASResizableContents) <ASResizableContents>
|
||||
@end
|
||||
|
||||
// This function can operate on either an ASDisplayNode (including un-loaded) or CALayer directly.
|
||||
/**
|
||||
This function can operate on either an ASDisplayNode (including un-loaded) or CALayer directly. More info about resizing mode: https://github.com/TextureGroup/Texture/issues/439
|
||||
|
||||
@param obj ASDisplayNode, CALayer or object that conforms to `ASResizableContents` protocol
|
||||
@param image Image you would like to resize
|
||||
*/
|
||||
extern void ASDisplayNodeSetResizableContents(id<ASResizableContents> obj, UIImage *image);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user