MSFPointStyleBuilder
Objective-C
@interface MSFPointStyleBuilder : MSFStyleBuilder
Swift
class MSFPointStyleBuilder : MSFStyleBuilder
A builder class for PointStyle.
-
Constructs a PointStyleBuilder object with all parameters set to defaults.
Declaration
Objective-C
- (id)init;Swift
init!() -
Returns the size of the point used for click detection.
Declaration
Objective-C
- (float)getClickSize;Swift
func getClickSize() -> FloatReturn Value
The size of the point used for click detection.
-
Sets the size for the point that will be used for click detection. Units are screen density independent pixels (DP or DIP). If set to -1 the click size will be calculated automatically. The default is -1.
Declaration
Objective-C
- (void)setClickSize:(float)size;Swift
func setClickSize(_ size: Float)Parameters
sizeThe new point size in dp.
-
Returns the size of the point.
Declaration
Objective-C
- (float)getSize;Swift
func getSize() -> FloatReturn Value
The size of the point.
-
Sets the size for the point in screen density independent pixels (DP or DIP). The default is 20.
Declaration
Objective-C
- (void)setSize:(float)size;Swift
func setSize(_ size: Float)Parameters
sizeThe new point size in dp.
-
Builds a new instance of the PointStyle object using previously set parameters.
Return Value
A new PointStyle object.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()