TorchButton
The TorchButton class defines a torch button with its location, size and image.
Definition
Namespace: Dynamsoft.CameraEnhancer.Maui
Assembly: Dynamsoft.CameraEnhancer.Maui
class TorchButton
Properties
Property | Type | Description |
---|---|---|
X |
double | The x-coordinate of the torch button. |
Y |
double | The y-coordinate of the torch button. |
Width |
double | The width of the torch button. |
Height |
double | The height of the torch button. |
TorchOnImageSource |
ImageSource | The image source of the torch button when the torch is on. |
TorchOffImageSource |
ImageSource | The image source of the torch button when the torch is off. |
X
The x-coordinate of the torch button.
double X { get; set; }
Y
The y-coordinate of the torch button.
double Y { get; set; }
Width
The width of the torch button.
double Width { get; set; }
Height
The height of the torch button.
double Height { get; set; }
TorchOnImageSource
The image source of the torch button when the torch is on.
ImageSource? TorchOnImageSource { get; set; }
TorchOffImageSource
The image source of the torch button when the torch is off.
ImageSource? TorchOffImageSource { get; set; }