CGRect

Declaration

struct CGRect {
CGPoint origin;
CGSize size;
};
typedef struct CGRect CGRect;

Description 

A structure that contains the location and dimensions of a rectangle. 

矩形の位置と大きさの情報を含む構造体。

Availability 

iOS (2.0 and later)

Declared 

CGGeometry.h

Reference 

CGGeometry Reference

Guides 

Quartz 2D Programming Guide

Samples 

CoreTextPageViewer, Recipes and Printing, ScrollViewSuite, SimpleStocks, UICatalog

コメント