BrushPreviewView

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKBrushPreviewView)
open class BrushPreviewView : UIVisualEffectView

A BrushPreviewView displays a preview of a styled brush.

  • The image view where the brush preview is displayed in.

    Declaration

    Swift

    public let imageView: UIImageView
  • The color of the brush.

    Declaration

    Swift

    open var color: UIColor { get set }
  • The size of the brush.

    Declaration

    Swift

    open var width: CGFloat { get set }
  • The hardness of the brush.

    Declaration

    Swift

    open var hardness: CGFloat { get set }