MSFPolygon3DStyleBuilder

Objective-C


@interface MSFPolygon3DStyleBuilder : MSFStyleBuilder

Swift

class MSFPolygon3DStyleBuilder : MSFStyleBuilder

A builder class for Polygon3DStyle.

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

    Declaration

    Objective-C

    - (id)init;

    Swift

    init!()
  • Returns the color of the 3d polygon sides.

    Declaration

    Objective-C

    - (MSFColor *)getSideColor;

    Swift

    func getSideColor() -> MSFColor!

    Return Value

    The color of the 3d polygon sides.

  • Sets the the color of the 3d polygon sides. The side color is also affected by lighting settings, so that sides with different orientation are distinguishable.

    Declaration

    Objective-C

    - (void)setSideColor:(MSFColor *)sideColor;

    Swift

    func setSideColor(_ sideColor: MSFColor!)

    Parameters

    sideColor

    The new color for the 3d polygon sides.

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

    Declaration

    Objective-C

    - (MSFPolygon3DStyle *)buildStyle;

    Swift

    func buildStyle() -> MSFPolygon3DStyle!

    Return Value

    A new Polygon3DStyle object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()