Resource Base
Table of contents

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 & Methods

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.
Method Description
TorchButton The constructors.

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; }

TorchButton

The constructors.

TorchButton();
TorchButton(double x, double y, double width, double height, ImageSource? onImageSource, ImageSource? offImageSource);

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: