MSFPolygonStyleBuilder

Objective-C


@interface MSFPolygonStyleBuilder : MSFStyleBuilder

Swift

class MSFPolygonStyleBuilder : MSFStyleBuilder

A builder class for PolygonStyle.

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

    Declaration

    Objective-C

    - (id)init;

    Swift

    init!()
  • Returns the line style of the edges of the polygon.

    Declaration

    Objective-C

    - (MSFLineStyle *)getLineStyle;

    Swift

    func getLineStyle() -> MSFLineStyle!

    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:(MSFLineStyle *)lineStyle;

    Swift

    func setLineStyle(_ lineStyle: MSFLineStyle!)

    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

    - (MSFPolygonStyle *)buildStyle;

    Swift

    func buildStyle() -> MSFPolygonStyle!

    Return Value

    A new PolygonStyle object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()