MSFStyleBuilder

Objective-C


@interface MSFStyleBuilder : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFStyleBuilder : NSObject

A base class for other StyleBuilder subclasses.

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Swift

    func isEqual(_ object: Any!) -> Bool

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Swift

    func hash() -> UInt

    Return Value

    The hash value of this object.

  • Returns the color of the vector element.

    Declaration

    Objective-C

    - (MSFColor *)getColor;

    Swift

    func getColor() -> MSFColor!

    Return Value

    The color of the vector element.

  • Sets the color for the vector element. Coloring works by multiplying the bitmap of the vector element with the specified color. If the color is set to white, the resulting bitmap will look exactly like the original. The default is white.

    Declaration

    Objective-C

    - (void)setColor:(MSFColor *)color;

    Swift

    func setColor(_ color: MSFColor!)

    Parameters

    color

    The new color for the vector element.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()