add:issue #214
This commit is contained in:
@@ -27,6 +27,8 @@ namespace Ink_Canvas
|
||||
public RandSettings RandSettings { get; set; } = new RandSettings();
|
||||
[JsonProperty("modeSettings")]
|
||||
public ModeSettings ModeSettings { get; set; } = new ModeSettings();
|
||||
[JsonProperty("camera")]
|
||||
public CameraSettings Camera { get; set; } = new CameraSettings();
|
||||
}
|
||||
|
||||
public class Canvas
|
||||
@@ -682,4 +684,19 @@ namespace Ink_Canvas
|
||||
[JsonProperty("isPPTOnlyMode")]
|
||||
public bool IsPPTOnlyMode { get; set; } = false; // 是否为仅PPT模式,默认为false(正常模式)
|
||||
}
|
||||
|
||||
public class CameraSettings
|
||||
{
|
||||
[JsonProperty("rotationAngle")]
|
||||
public int RotationAngle { get; set; } = 0;
|
||||
|
||||
[JsonProperty("resolutionWidth")]
|
||||
public int ResolutionWidth { get; set; } = 1920;
|
||||
|
||||
[JsonProperty("resolutionHeight")]
|
||||
public int ResolutionHeight { get; set; } = 1080;
|
||||
|
||||
[JsonProperty("selectedCameraIndex")]
|
||||
public int SelectedCameraIndex { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user