-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathImageCropperData.cs
More file actions
46 lines (38 loc) · 1.17 KB
/
ImageCropperData.cs
File metadata and controls
46 lines (38 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
namespace BootstrapBlazor.Components;
/// <summary>
/// 裁切数据实体类
/// </summary>
public struct ImageCropperData
{
/// <summary>
/// 获得/设置 裁剪框高度值
/// </summary>
public float Height { get; set; }
/// <summary>
/// 获得/设置 裁剪框宽度值
/// </summary>
public float Width { get; set; }
/// <summary>
/// 获得/设置 裁剪框 X 值
/// </summary>
public float X { get; set; }
/// <summary>
/// 获得/设置 裁剪框 Y 值
/// </summary>
public float Y { get; set; }
/// <summary>
/// 获得/设置 裁剪框旋转角度值
/// </summary>
public float Rotate { get; set; }
/// <summary>
/// 获得/设置 裁剪框 X 轴缩放值
/// </summary>
public float ScaleX { get; set; }
/// <summary>
/// 获得/设置 裁剪框 Y 轴缩放值
/// </summary>
public float ScaleY { get; set; }
}