TipConfig
The TipConfig
class defines the configurations of tip, including the top left point, width, duration, and coordinate base.
Definition
Assembly: package com.dynamsoft.dce
class TipConfig
Attributes
Attributes | Type | Description |
---|---|---|
topLeftPoint |
CGPoint | The top left point of the tip area. |
width |
NSInteger | The width of the tip area. |
duration |
NSInteger | The duration of each tip message will be displayed. |
coordinateBase |
EnumCoordinateBase | The coordinate base of the tip message. |
Methods
Method | Description |
---|---|
TipConfig |
Create an instance of TipConfig with default configurations. |
TipConfig(topLeftPoint,width,duration,CoordinateBase) |
Create an instance of TipConfig . |
topLeftPoint
The top left point of the tip area.
Point topLeftPoint;
width
The width of the tip area.
int width;
duration
The duration of each tip message will be displayed.
int duration;
coordinateBase
The coordinate base of the tip message.
EnumCoordinateBase CoordinateBase;
TipConfig
Create an instance of TipConfig with default configurations.
void TipConfig();
Return Value
An instance of TipConfig
.
TipConfig(topLeftPoint,width,duration,CoordinateBase)
Create an instance of TipConfig.
void TipConfig(Point topLeftPoint, int width, int duration, EnumCoordinateBase CoordinateBase);
Parameters
topLeftPoint
: The top left point of the tip area.
width
: The width of the tip area.
duration
: The duration of each tip message will be displayed.
coordinateBase
: The coordinate base of the tip message.
Return Value
An instance of TipConfig
.