macOS/iOS API解説

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

目次

NSGraphicsContextクラス

INDEX>AppKit> NSGraphicsContext

**

継承 NSObject
準拠 NSObject (NSObject)
フレームワーク /System/Library/Frameworks/AppKit.framework
使用可能 OS X 10.0以降
定義
インポート文 @import AppKit;

概要

メソッドとプロパティ

Managing the Current Context

+ currentContext
+ setCurrentContext
graphicsPort
10.0-10.10

Getting Information About a Context

attributes
flipped

Flushing Graphics to the Context

- flushGraphics

Managing the Focus Stack

- focusStack
(OS X v10.6)
- setFocusStack
(OS X v10.6)

Configuring Rendering Options

compositingOperation
imageInterpolation
shouldAntialias
patternPhase

Getting the Core Image Context

CIContext

Managing the Color Rendering Intent

colorRenderingIntent

Constants

Attribute dictionary keys

Representation format attribute keys

NSImageInterpolation
NSColorRenderingIntent




定数

更新時バージョン

OS X 10.11