SBSDKPolygonLayer

@interface SBSDKPolygonLayer : CAShapeLayer

A CAShapeLayer subclass that is used to draw bezier paths with fluid animation. The paths stroke color can be customized.

  • The color to draw the paths lines.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *lineColor;

    Swift

    var lineColor: UIColor { get set }
  • Designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLineColor:(nonnull UIColor *)lineColor;

    Swift

    init(lineColor: UIColor)

    Parameters

    lineColor

    The initial color for the path drawing color.