MSFLineStyle

Objective-C


@interface MSFLineStyle : MSFStyle

Swift

class MSFLineStyle : MSFStyle

A style for lines. Contains attributes for configuring how the line is drawn on the screen.

  • Returns the bitmap of the line.

    Declaration

    Objective-C

    - (MSFBitmap *)getBitmap;

    Swift

    func getBitmap() -> MSFBitmap!

    Return Value

    The bitmap of the line.

  • Returns the width of the line used for click detection.

    Declaration

    Objective-C

    - (float)getClickWidth;

    Swift

    func getClickWidth() -> Float

    Return Value

    The width of the line used for click detection.

  • Returns the end point type of the line.

    Declaration

    Objective-C

    - (enum MSFLineEndType)getLineEndType;

    Swift

    func getLineEndType() -> MSFLineEndType

    Return Value

    The end point type of the line.

  • Returns the join type of the line.

    Declaration

    Objective-C

    - (enum MSFLineJoinType)getLineJoinType;

    Swift

    func getLineJoinType() -> MSFLineJoinType

    Return Value

    The join type of the line.

  • Returns the stretching factor of the line.

    Declaration

    Objective-C

    - (float)getStretchFactor;

    Swift

    func getStretchFactor() -> Float

    Return Value

    The stretching factor of the line.

  • Returns the width of the line.

    Declaration

    Objective-C

    - (float)getWidth;

    Swift

    func getWidth() -> Float

    Return Value

    The width of the line.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()