One Logo Pool Ball
UIKit · IOS API REFERENCE

UIBezierPath

class · iOS 3.2+ · SDK 27.1

class UIBezierPath

Members (43)

init · iOS 3.2+

init

TypeScript
static initArcCenterRadiusStartAngleEndAngleClockwise(center: { x: number; y: number }, radius: number, startAngle: number, endAngle: number, clockwise: boolean): UIBezierPath
Swift declaration
convenience init(arcCenter center: CGPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat, clockwise: Bool)
init · iOS 3.2+

init

TypeScript
static initCgPath(CGPath: _CoreGraphics_CGPath): UIBezierPath
Swift declaration
convenience init(cgPath CGPath: CGPath)
init · iOS 3.2+

init

TypeScript
static initOvalIn(rect: { x: number; y: number; width: number; height: number }): UIBezierPath
Swift declaration
convenience init(ovalIn rect: CGRect)
init · iOS 3.2+

init

TypeScript
static initRect(rect: { x: number; y: number; width: number; height: number }): UIBezierPath
Swift declaration
convenience init(rect: CGRect)
init · iOS 3.2+

init

TypeScript
static initRoundedRectByRoundingCornersCornerRadii(rect: { x: number; y: number; width: number; height: number }, corners: UIRectCorner, cornerRadii: { width: number; height: number }): UIBezierPath
Swift declaration
convenience init(roundedRect rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii: CGSize)
init · iOS 3.2+

init

TypeScript
static initRoundedRectCornerRadius(rect: { x: number; y: number; width: number; height: number }, cornerRadius: number): UIBezierPath
Swift declaration
convenience init(roundedRect rect: CGRect, cornerRadius: CGFloat)
method · iOS 4.0+

addArc

TypeScript
addArc(center: { x: number; y: number }, radius: number, startAngle: number, endAngle: number, clockwise: boolean): void
Swift declaration
func addArc(withCenter center: CGPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat, clockwise: Bool)
method · iOS 3.2+

addClip

TypeScript
addClip(): void
Swift declaration
func addClip()
method · iOS 3.2+

addCurve

TypeScript
addCurve(endPoint: { x: number; y: number }, controlPoint1: { x: number; y: number }, controlPoint2: { x: number; y: number }): void
Swift declaration
func addCurve(to endPoint: CGPoint, controlPoint1: CGPoint, controlPoint2: CGPoint)
method · iOS 3.2+

addLine

TypeScript
addLine(point: { x: number; y: number }): void
Swift declaration
func addLine(to point: CGPoint)
method · iOS 3.2+

addQuadCurve

TypeScript
addQuadCurve(endPoint: { x: number; y: number }, controlPoint: { x: number; y: number }): void
Swift declaration
func addQuadCurve(to endPoint: CGPoint, controlPoint: CGPoint)
method · iOS 3.2+

append

TypeScript
append(bezierPath: UIBezierPath): void
Swift declaration
func append(_ bezierPath: UIBezierPath)
method · iOS 3.2+

apply

TypeScript
apply(transform: _CoreFoundation_CGAffineTransform): void
Swift declaration
func apply(_ transform: CGAffineTransform)
method · iOS 6.0+

reversing

TypeScript
reversing(): UIBezierPath
Swift declaration
func reversing() -> UIBezierPath
method · iOS 3.2+

close

TypeScript
close(): void
Swift declaration
func close()
method · iOS 3.2+

contains

TypeScript
contains(point: { x: number; y: number }): boolean
Swift declaration
func contains(_ point: CGPoint) -> Bool
method · iOS 3.2+

fill

TypeScript
fill(): void
Swift declaration
func fill()
method · iOS 3.2+

fill

TypeScript
fillWithAlpha(blendMode: _CoreGraphics_CGBlendMode, alpha: number): void
Swift declaration
func fill(with blendMode: CGBlendMode, alpha: CGFloat)
method · iOS 3.2+

getLineDash

TypeScript
getLineDash(pattern?: ("animatableData" | SDKHandle) | null, count?: (SDKHandle) | null, phase?: ("animatableData" | SDKHandle) | null): void
Swift declaration
func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>?, count: UnsafeMutablePointer<Int>?, phase: UnsafeMutablePointer<CGFloat>?)
init · iOS 3.2+

init

TypeScript
static init(): UIBezierPath
Swift declaration
init()
init · iOS 3.2+

init

TypeScript
static initCoder(coder: _Foundation_NSCoder): (UIBezierPath) | null
Swift declaration
init?(coder: NSCoder)
method · iOS 3.2+

move

TypeScript
move(point: { x: number; y: number }): void
Swift declaration
func move(to point: CGPoint)
method · iOS 3.2+

removeAllPoints

TypeScript
removeAllPoints(): void
Swift declaration
func removeAllPoints()
method · iOS 3.2+

setLineDash

TypeScript
setLineDash(pattern: ("animatableData" | SDKHandle) | null, count: number, phase: number): void
Swift declaration
func setLineDash(_ pattern: UnsafePointer<CGFloat>?, count: Int, phase: CGFloat)
method · iOS 3.2+

stroke

TypeScript
stroke(): void
Swift declaration
func stroke()
method · iOS 3.2+

stroke

TypeScript
strokeWithAlpha(blendMode: _CoreGraphics_CGBlendMode, alpha: number): void
Swift declaration
func stroke(with blendMode: CGBlendMode, alpha: CGFloat)
get · iOS 3.2+

cgPath

TypeScript
get cgPath(): _CoreGraphics_CGPath
Swift declaration
var cgPath: CGPath { get set }
set · iOS 3.2+

cgPath

TypeScript
set cgPath(value: _CoreGraphics_CGPath)
Swift declaration
var cgPath: CGPath { get set }
get · iOS 3.2+

bounds

TypeScript
get bounds(): { x: number; y: number; width: number; height: number }
Swift declaration
var bounds: CGRect { get }
get · iOS 3.2+

currentPoint

TypeScript
get currentPoint(): { x: number; y: number }
Swift declaration
var currentPoint: CGPoint { get }
get · iOS 3.2+

isEmpty

TypeScript
get isEmpty(): boolean
Swift declaration
var isEmpty: Bool { get }
get · iOS 3.2+

flatness

TypeScript
get flatness(): number
Swift declaration
var flatness: CGFloat { get set }
set · iOS 3.2+

flatness

TypeScript
set flatness(value: number)
Swift declaration
var flatness: CGFloat { get set }
get · iOS 3.2+

lineCapStyle

TypeScript
get lineCapStyle(): _CoreGraphics_CGLineCap
Swift declaration
var lineCapStyle: CGLineCap { get set }
set · iOS 3.2+

lineCapStyle

TypeScript
set lineCapStyle(value: _CoreGraphics_CGLineCap)
Swift declaration
var lineCapStyle: CGLineCap { get set }
get · iOS 3.2+

lineJoinStyle

TypeScript
get lineJoinStyle(): _CoreGraphics_CGLineJoin
Swift declaration
var lineJoinStyle: CGLineJoin { get set }
set · iOS 3.2+

lineJoinStyle

TypeScript
set lineJoinStyle(value: _CoreGraphics_CGLineJoin)
Swift declaration
var lineJoinStyle: CGLineJoin { get set }
get · iOS 3.2+

lineWidth

TypeScript
get lineWidth(): number
Swift declaration
var lineWidth: CGFloat { get set }
set · iOS 3.2+

lineWidth

TypeScript
set lineWidth(value: number)
Swift declaration
var lineWidth: CGFloat { get set }
get · iOS 3.2+

miterLimit

TypeScript
get miterLimit(): number
Swift declaration
var miterLimit: CGFloat { get set }
set · iOS 3.2+

miterLimit

TypeScript
set miterLimit(value: number)
Swift declaration
var miterLimit: CGFloat { get set }
get · iOS 3.2+

usesEvenOddFillRule

TypeScript
get usesEvenOddFillRule(): boolean
Swift declaration
var usesEvenOddFillRule: Bool { get set }
set · iOS 3.2+

usesEvenOddFillRule

TypeScript
set usesEvenOddFillRule(value: boolean)
Swift declaration
var usesEvenOddFillRule: Bool { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →