GSKEditableFrame

Objective-C

@interface GSKEditableFrame : UIView

@property (nonatomic, strong) GSKQuadrangle *quadrangle;

@property (nonatomic, weak, nullable) id <GSKEditableFrameDelegate> delegate;

/**
 The color of the area outside of the quadrangle.
 */
@property (nonatomic, copy) UIColor *outsideShadeColor;

/**
 The color of the area inside of the quadrangle.
 */
@property (nonatomic, copy) UIColor *insideShadeColor;

/**
 The color of the area inside of the quadrangle.
 */
@property (nonatomic, copy) UIColor *shadeColor DEPRECATED_MSG_ATTRIBUTE("Deprecated in favor of `insideShadeColor`.");

/**
 The color of the edges and grid lines.
 */
@property (nonatomic, copy) UIColor *lineColor;

/**
 The width of the handle that signify that corners can be dragged.

 Default: 5
 */
@property (nonatomic, assign) CGFloat handleWidth;
@property (nonatomic, assign) BOOL noCrop;

@end

Swift

class GSKEditableFrame : UIView

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) GSKQuadrangle *quadrangle

    Swift

    var quadrangle: GSKQuadrangle { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, weak, nullable) id <GSKEditableFrameDelegate> delegate

    Swift

    weak var delegate: GSKEditableFrameDelegate? { get set }
  • The color of the area outside of the quadrangle.

    Declaration

    Objective-C

    @property (nonatomic, copy) UIColor *_Nonnull outsideShadeColor;

    Swift

    @NSCopying var outsideShadeColor: UIColor { get set }
  • The color of the area inside of the quadrangle.

    Declaration

    Objective-C

    @property (nonatomic, copy) UIColor *_Nonnull insideShadeColor;

    Swift

    @NSCopying var insideShadeColor: UIColor { get set }
  • Deprecated

    Deprecated in favor of insideShadeColor.

    The color of the area inside of the quadrangle.

    Declaration

    Objective-C

    @property (nonatomic, copy) DEPRECATED_MSG_ATTRIBUTE("Deprecated in favor of `insideShadeColor`.") UIColor *shadeColor;

    Swift

    @NSCopying var shadeColor: UIColor { get set }
  • The color of the edges and grid lines.

    Declaration

    Objective-C

    @property (nonatomic, copy) UIColor *_Nonnull lineColor;

    Swift

    @NSCopying var lineColor: UIColor { get set }
  • The width of the handle that signify that corners can be dragged.

    Default: 5

    Declaration

    Objective-C

    @property (nonatomic) CGFloat handleWidth;

    Swift

    var handleWidth: CGFloat { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL noCrop

    Swift

    var noCrop: Bool { get set }