RectShape
public class RectShape:
ShapeWithTwoPoints,
ShapeWithStandardState,
ShapeSelectable
-
Declaration
Swift
public static let type: String
-
Declaration
Swift
public var id: String
-
Declaration
Swift
public var a: CGPoint
-
Declaration
Swift
public var b: CGPoint
-
Declaration
Swift
public var strokeColor: UIColor?
-
Declaration
Swift
public var fillColor: UIColor?
-
Declaration
Swift
public var strokeWidth: CGFloat
-
Declaration
Swift
public var capStyle: CGLineCap
-
Declaration
Swift
public var joinStyle: CGLineJoin
-
Declaration
Swift
public var dashPhase: CGFloat?
-
Declaration
Swift
public var dashLengths: [CGFloat]?
-
Declaration
Swift
public var transform: ShapeTransform
-
Declaration
Swift
public init()
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public func render(in context: CGContext)