NTPolygonStyleBuilder


@interface NTPolygonStyleBuilder : NTStyleBuilder

A builder class for PolygonStyle.

  • Constructs a PolygonStyleBuilder object with all parameters set to defaults.

    Declaration

    Objective-C

    - (id)init;
  • Returns the line style of the edges of the polygon.

    Declaration

    Objective-C

    - (NTLineStyle *)getLineStyle;

    Return Value

    The line style of the edges of the polygon. May be null.

  • Sets the line style that will be used to draw the edges of the polygon. If null is passed no edges will be drawn. The default is null.

    Declaration

    Objective-C

    - (void)setLineStyle:(NTLineStyle *)lineStyle;

    Parameters

    lineStyle

    The new style for the edges of the polygon.

  • Builds a new instance of the PolygonStyle object using previously set parameters.

    Declaration

    Objective-C

    - (NTPolygonStyle *)buildStyle;

    Return Value

    A new PolygonStyle object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;