topLeading
TypeScriptget topLeading(): Edge_Corner_SetSwift declarationstatic let topLeading: Edge.Corner.SetThe top leading corner.
struct · iOS 26.0+ · SDK 27.1
struct SetAn efficient set of corners.
get topLeading(): Edge_Corner_SetSwift declarationstatic let topLeading: Edge.Corner.SetThe top leading corner.
get topTrailing(): Edge_Corner_SetSwift declarationstatic let topTrailing: Edge.Corner.SetThe top trailing corner.
get bottomLeading(): Edge_Corner_SetSwift declarationstatic let bottomLeading: Edge.Corner.SetThe bottom leading corner.
get bottomTrailing(): Edge_Corner_SetSwift declarationstatic let bottomTrailing: Edge.Corner.SetThe bottom trailing corner.
getDebugDescription($self: Edge_Corner_Set): stringSwift declarationvar debugDescription: String { get }A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.
get all(): Edge_Corner_SetSwift declarationstatic let all: Edge.Corner.SetAll corners.
get top(): Edge_Corner_SetSwift declarationstatic let top: Edge.Corner.SetThe top leading and trailing corners.
get none(): Edge_Corner_SetSwift declarationstatic let none: Edge.Corner.SetNo corners.
get bottom(): Edge_Corner_SetSwift declarationstatic let bottom: Edge.Corner.SetThe bottom leading and trailing corners.
get leading(): Edge_Corner_SetSwift declarationstatic let leading: Edge.Corner.SetThe top and bottom leading corners.
contains($self: Edge_Corner_Set, corner: Edge_Corner): booleanSwift declarationfunc contains(_ corner: Edge.Corner) -> BoolReturns true only if `corner` is a member of the calling set.
initRawValue(rawValue: number): Edge_Corner_SetSwift declarationinit(rawValue: Int8)Creates a corner set given a raw value.
getRawValue($self: Edge_Corner_Set): numberSwift declarationlet rawValue: Int8The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"
get trailing(): Edge_Corner_SetSwift declarationstatic let trailing: Edge.Corner.SetThe top and bottom trailing corners.
init(corner: Edge_Corner): Edge_Corner_SetSwift declarationinit(_ corner: Edge.Corner)Creates set of corners containing only the specified corner. - Parameter corner: the specific corner.
No declarations were skipped in this snapshot.