UIKit · IOS API REFERENCE
UIBezierPath
class · iOS 3.2+ · SDK 27.1
class UIBezierPath
Members (43)
init · iOS 3.2+init
TypeScriptstatic initArcCenterRadiusStartAngleEndAngleClockwise(center: { x: number; y: number }, radius: number, startAngle: number, endAngle: number, clockwise: boolean): UIBezierPath
Swift declarationconvenience init(arcCenter center: CGPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat, clockwise: Bool)
init · iOS 3.2+init
TypeScriptstatic initCgPath(CGPath: _CoreGraphics_CGPath): UIBezierPath
Swift declarationconvenience init(cgPath CGPath: CGPath)
init · iOS 3.2+init
TypeScriptstatic initOvalIn(rect: { x: number; y: number; width: number; height: number }): UIBezierPath
Swift declarationconvenience init(ovalIn rect: CGRect)
init · iOS 3.2+init
TypeScriptstatic initRect(rect: { x: number; y: number; width: number; height: number }): UIBezierPath
Swift declarationconvenience init(rect: CGRect)
init · iOS 3.2+init
TypeScriptstatic initRoundedRectByRoundingCornersCornerRadii(rect: { x: number; y: number; width: number; height: number }, corners: UIRectCorner, cornerRadii: { width: number; height: number }): UIBezierPath
Swift declarationconvenience init(roundedRect rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii: CGSize)
init · iOS 3.2+init
TypeScriptstatic initRoundedRectCornerRadius(rect: { x: number; y: number; width: number; height: number }, cornerRadius: number): UIBezierPath
Swift declarationconvenience init(roundedRect rect: CGRect, cornerRadius: CGFloat)
method · iOS 4.0+addArc
TypeScriptaddArc(center: { x: number; y: number }, radius: number, startAngle: number, endAngle: number, clockwise: boolean): void
Swift declarationfunc addArc(withCenter center: CGPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat, clockwise: Bool)
method · iOS 3.2+addClip
TypeScriptaddClip(): void
Swift declarationfunc addClip()
method · iOS 3.2+addCurve
TypeScriptaddCurve(endPoint: { x: number; y: number }, controlPoint1: { x: number; y: number }, controlPoint2: { x: number; y: number }): void
Swift declarationfunc addCurve(to endPoint: CGPoint, controlPoint1: CGPoint, controlPoint2: CGPoint)
method · iOS 3.2+addLine
TypeScriptaddLine(point: { x: number; y: number }): void
Swift declarationfunc addLine(to point: CGPoint)
method · iOS 3.2+addQuadCurve
TypeScriptaddQuadCurve(endPoint: { x: number; y: number }, controlPoint: { x: number; y: number }): void
Swift declarationfunc addQuadCurve(to endPoint: CGPoint, controlPoint: CGPoint)
method · iOS 3.2+append
TypeScriptappend(bezierPath: UIBezierPath): void
Swift declarationfunc append(_ bezierPath: UIBezierPath)
method · iOS 3.2+apply
TypeScriptapply(transform: _CoreFoundation_CGAffineTransform): void
Swift declarationfunc apply(_ transform: CGAffineTransform)
method · iOS 6.0+reversing
TypeScriptreversing(): UIBezierPath
Swift declarationfunc reversing() -> UIBezierPath
method · iOS 3.2+close
TypeScriptclose(): void
Swift declarationfunc close()
method · iOS 3.2+contains
TypeScriptcontains(point: { x: number; y: number }): boolean
Swift declarationfunc contains(_ point: CGPoint) -> Bool
method · iOS 3.2+fill
TypeScriptfill(): void
Swift declarationfunc fill()
method · iOS 3.2+fill
TypeScriptfillWithAlpha(blendMode: _CoreGraphics_CGBlendMode, alpha: number): void
Swift declarationfunc fill(with blendMode: CGBlendMode, alpha: CGFloat)
method · iOS 3.2+getLineDash
TypeScriptgetLineDash(pattern?: ("animatableData" | SDKHandle) | null, count?: (SDKHandle) | null, phase?: ("animatableData" | SDKHandle) | null): void
Swift declarationfunc getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>?, count: UnsafeMutablePointer<Int>?, phase: UnsafeMutablePointer<CGFloat>?)
init · iOS 3.2+init
TypeScriptstatic init(): UIBezierPath
Swift declarationinit()
init · iOS 3.2+init
TypeScriptstatic initCoder(coder: _Foundation_NSCoder): (UIBezierPath) | null
Swift declarationinit?(coder: NSCoder)
method · iOS 3.2+move
TypeScriptmove(point: { x: number; y: number }): void
Swift declarationfunc move(to point: CGPoint)
method · iOS 3.2+removeAllPoints
TypeScriptremoveAllPoints(): void
Swift declarationfunc removeAllPoints()
method · iOS 3.2+setLineDash
TypeScriptsetLineDash(pattern: ("animatableData" | SDKHandle) | null, count: number, phase: number): void
Swift declarationfunc setLineDash(_ pattern: UnsafePointer<CGFloat>?, count: Int, phase: CGFloat)
method · iOS 3.2+stroke
TypeScriptstroke(): void
Swift declarationfunc stroke()
method · iOS 3.2+stroke
TypeScriptstrokeWithAlpha(blendMode: _CoreGraphics_CGBlendMode, alpha: number): void
Swift declarationfunc stroke(with blendMode: CGBlendMode, alpha: CGFloat)
get · iOS 3.2+cgPath
TypeScriptget cgPath(): _CoreGraphics_CGPath
Swift declarationvar cgPath: CGPath { get set }
set · iOS 3.2+cgPath
TypeScriptset cgPath(value: _CoreGraphics_CGPath)
Swift declarationvar cgPath: CGPath { get set }
get · iOS 3.2+bounds
TypeScriptget bounds(): { x: number; y: number; width: number; height: number }
Swift declarationvar bounds: CGRect { get }
get · iOS 3.2+currentPoint
TypeScriptget currentPoint(): { x: number; y: number }
Swift declarationvar currentPoint: CGPoint { get }
get · iOS 3.2+isEmpty
TypeScriptget isEmpty(): boolean
Swift declarationvar isEmpty: Bool { get }
get · iOS 3.2+flatness
TypeScriptget flatness(): number
Swift declarationvar flatness: CGFloat { get set }
set · iOS 3.2+flatness
TypeScriptset flatness(value: number)
Swift declarationvar flatness: CGFloat { get set }
get · iOS 3.2+lineCapStyle
TypeScriptget lineCapStyle(): _CoreGraphics_CGLineCap
Swift declarationvar lineCapStyle: CGLineCap { get set }
set · iOS 3.2+lineCapStyle
TypeScriptset lineCapStyle(value: _CoreGraphics_CGLineCap)
Swift declarationvar lineCapStyle: CGLineCap { get set }
get · iOS 3.2+lineJoinStyle
TypeScriptget lineJoinStyle(): _CoreGraphics_CGLineJoin
Swift declarationvar lineJoinStyle: CGLineJoin { get set }
set · iOS 3.2+lineJoinStyle
TypeScriptset lineJoinStyle(value: _CoreGraphics_CGLineJoin)
Swift declarationvar lineJoinStyle: CGLineJoin { get set }
get · iOS 3.2+lineWidth
TypeScriptget lineWidth(): number
Swift declarationvar lineWidth: CGFloat { get set }
set · iOS 3.2+lineWidth
TypeScriptset lineWidth(value: number)
Swift declarationvar lineWidth: CGFloat { get set }
get · iOS 3.2+miterLimit
TypeScriptget miterLimit(): number
Swift declarationvar miterLimit: CGFloat { get set }
set · iOS 3.2+miterLimit
TypeScriptset miterLimit(value: number)
Swift declarationvar miterLimit: CGFloat { get set }
get · iOS 3.2+usesEvenOddFillRule
TypeScriptget usesEvenOddFillRule(): boolean
Swift declarationvar usesEvenOddFillRule: Bool { get set }
set · iOS 3.2+usesEvenOddFillRule
TypeScriptset usesEvenOddFillRule(value: boolean)
Swift declarationvar usesEvenOddFillRule: Bool { get set }
Skipped declarations
No declarations were skipped in this snapshot.
All UIKit types →