MDCEdgeTreatment

@interface MDCEdgeTreatment : NSObject <NSCopying>

MDCEdgeTreatment is a factory for creating MDCPathGenerators that represent the path of a edge.

MDCEdgeTreaments only generate in the top quadrant (i.e. the top edge of a rectangle). MDCShapeModel will transform the generated MDCPathGenerator to the expected position and rotation.

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_DESIGNATED_INITIALIZER;
  • Generates an MDCPathGenerator object for an edge with the provided length.

    Declaration

    Objective-C

    - (nonnull MDCPathGenerator *)pathGeneratorForEdgeWithLength:(CGFloat)length;

    Parameters

    length

    The length of the edge.