CGRect 간단하게살펴보기
작성일
CGRect 간단하게살펴보기
- 사각형을 표현하기 위한 구조체
- 너비, 높이: CGSize, 원점(origin): CGPoint
public struct CGRect { public var origin: CGPoint public var size: CGSize public init() public init(origin: CGPoint, size: CGSize) }
작성일
public struct CGRect {
public var origin: CGPoint
public var size: CGSize
public init()
public init(origin: CGPoint, size: CGSize)
}