One Logo Pool Ball
CoreVideo · IOS API REFERENCE

CVPixelBufferPadding

struct · iOS 26.0+ · SDK 27.1

@frozen struct CVPixelBufferPadding

Padding pixels around the CVPixelBuffer

Members (10)

get · iOS 26.0+

top

TypeScript
get top(): number
Swift declaration
var top: Int

Pixel row padding at the top

set · iOS 26.0+

top

TypeScript
set top(value: number)
Swift declaration
var top: Int

Pixel row padding at the top

init · iOS 26.0+

init

TypeScript
static init(left?: number, right?: number, top?: number, bottom?: number): CVPixelBufferPadding
Swift declaration
init(left: Int = 0, right: Int = 0, top: Int = 0, bottom: Int = 0)
get · iOS 26.0+

left

TypeScript
get left(): number
Swift declaration
var left: Int

Pixel column padding to the left

set · iOS 26.0+

left

TypeScript
set left(value: number)
Swift declaration
var left: Int

Pixel column padding to the left

get · iOS 26.0+

zero

TypeScript
static get zero(): CVPixelBufferPadding
Swift declaration
static let zero: CVPixelBufferPadding
get · iOS 26.0+

right

TypeScript
get right(): number
Swift declaration
var right: Int

Pixel column padding to the right

set · iOS 26.0+

right

TypeScript
set right(value: number)
Swift declaration
var right: Int

Pixel column padding to the right

get · iOS 26.0+

bottom

TypeScript
get bottom(): number
Swift declaration
var bottom: Int

Pixel row padding at the bottom

set · iOS 26.0+

bottom

TypeScript
set bottom(value: number)
Swift declaration
var bottom: Int

Pixel row padding at the bottom

Skipped declarations

No declarations were skipped in this snapshot.

All CoreVideo types →