RoundNRectangle
public struct RoundNRectangle<Vector> : GeometricType where Vector : VectorType
extension RoundNRectangle: Equatable where Vector: Equatable, Scalar: Equatable
extension RoundNRectangle: Hashable where Vector: Hashable, Scalar: Hashable
extension RoundNRectangle: Encodable where Vector: Encodable, Scalar: Encodable
extension RoundNRectangle: Decodable where Vector: Decodable, Scalar: Decodable
extension RoundNRectangle: BoundableType where Vector: VectorAdditive
Represents an N-dimensional rounded rectangle with a rectangle and radius for each axis.
-
Convenience for
Vector.Scalar
Declaration
Swift
public typealias Scalar = Vector.Scalar
-
Declaration
Swift
public var rectangle: NRectangle<Vector>
-
Declaration
Swift
public var radius: Vector
-
Declaration
Swift
public init(rectangle: NRectangle<Vector>, radius: Vector)