One Logo Pool Ball
Vision · IOS API REFERENCE

VNContour

class · iOS 14.0+ · SDK 27.1

class VNContour

Members (9)

method · iOS 14.0+

childContour

TypeScript
childContour(childContourIndex: number): VNContour
Swift declaration
func childContour(at childContourIndex: Int) throws -> VNContour
method · iOS 14.0+

polygonApproximation

TypeScript
polygonApproximation(epsilon: number): VNContour
Swift declaration
func polygonApproximation(epsilon: Float) throws -> VNContour
get · iOS 14.0+

aspectRatio

TypeScript
get aspectRatio(): number
Swift declaration
var aspectRatio: Float { get }
get · iOS 14.0+

childContourCount

TypeScript
get childContourCount(): number
Swift declaration
var childContourCount: Int { get }
get · iOS 14.0+

childContours

TypeScript
get childContours(): Array<VNContour>
Swift declaration
var childContours: [VNContour] { get }
get · iOS 14.0+

indexPath

TypeScript
get indexPath(): _Foundation_IndexPath
Swift declaration
var indexPath: IndexPath { get }
get · iOS 14.0+

normalizedPath

TypeScript
get normalizedPath(): _CoreGraphics_CGPath
Swift declaration
var normalizedPath: CGPath { get }
get · iOS 14.0+

pointCount

TypeScript
get pointCount(): number
Swift declaration
var pointCount: Int { get }
get · iOS 14.0+

normalizedPoints

TypeScript
get normalizedPoints(): Array<SDKHandle>
Swift declaration
@nonobjc var normalizedPoints: [simd_float2] { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

VNContour.init()

inherited init: clang: 'init' is unavailable

All Vision types →