A type that determines the configuration for rendering text in 2D,
before it is extruded.
Members (3)
get · iOS 18.0+
containerFrame
TypeScript
get containerFrame(): Promise<({ x: number; y: number; width: number; height: number }) | null>
Swift declaration
var containerFrame: CGRect?
The size in points of the frame where the text is laid out.
The points are scaled at a ratio of 72 points per meter.
The container frame has the same origin as the local coordinate system.
- Note: Use a value of `nil` to denote an arbitrarily large frame.
The size in points of the frame where the text is laid out.
The points are scaled at a ratio of 72 points per meter.
The container frame has the same origin as the local coordinate system.
- Note: Use a value of `nil` to denote an arbitrarily large frame.