One Logo Pool Ball
CoreVideo · IOS API REFERENCE

CVImagePixelAspectRatio

struct · iOS 27.0+ · SDK 27.1

@frozen struct CVImagePixelAspectRatio

Aspect ratio of each pixel in the image buffer.

Members (7)

get · iOS 27.0+

verticalSpacing

TypeScript
get verticalSpacing(): number
Swift declaration
var verticalSpacing: Float

The vertical component of the image buffer aspect ratio.

set · iOS 27.0+

verticalSpacing

TypeScript
set verticalSpacing(value: number)
Swift declaration
var verticalSpacing: Float

The vertical component of the image buffer aspect ratio.

init · iOS 27.0+

init

TypeScript
static init(horizontalSpacing: number, verticalSpacing: number): CVImagePixelAspectRatio
Swift declaration
init(horizontalSpacing: Float, verticalSpacing: Float)
get · iOS 27.0+

horizontalSpacing

TypeScript
get horizontalSpacing(): number
Swift declaration
var horizontalSpacing: Float

The horizontal component of the image buffer aspect ratio.

set · iOS 27.0+

horizontalSpacing

TypeScript
set horizontalSpacing(value: number)
Swift declaration
var horizontalSpacing: Float

The horizontal component of the image buffer aspect ratio.

static · iOS 27.0+

makeFromRawAttachmentValue

TypeScript
static makeFromRawAttachmentValue(repr: CVAttachmentRawValue): (CVImagePixelAspectRatio) | null
Swift declaration
static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> CVImagePixelAspectRatio?
get · iOS 27.0+

rawAttachmentValueRepresentation

TypeScript
get rawAttachmentValueRepresentation(): CVAttachmentRawValue
Swift declaration
var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }

Skipped declarations

No declarations were skipped in this snapshot.

All CoreVideo types →