macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

frameRotation

レシーバの回転角度を返します(システム座標と比較した角度)

解説

レシーバの回転角度を返します(システム座標と比較した角度)

返り値

( float )

回転角度

引数

フレームワーク

ApplicationKit

クラス

NSView

Instance Methods

使用可能

10.0

参照

- setFrameRotation:
- boundsRotation

例文

#import "MyObject.h"

@implementation MyObject

- (IBAction)myAction:(id)sender
{

    [sender setFrameRotation : 30.2 ];
    [info setFloatValue:[sender frameRotation]];
    [sender display];


}

@end