using Serein.Library.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Serein.Library
{
[NodeProperty(ValuePath = NodeValuePath.Node)]
public partial class FlowCanvasModel
{
public FlowCanvasModel(IFlowEnvironment env)
{
Env = env;
}
public IFlowEnvironment Env { get; }
[PropertyInfo(IsProtection = true)]
private string _guid;
[PropertyInfo(IsNotification = true)]
private string _name;
[PropertyInfo(IsNotification = true)]
private double _width;
[PropertyInfo(IsNotification = true)]
private double _height;
///
/// 预览位置X
///
[PropertyInfo]
private double _viewX ;
///
/// 预览位置Y
///
[PropertyInfo]
private double _viewY ;
///
/// 缩放比例X
///
[PropertyInfo]
private double _scaleX ;
///
/// 缩放比例Y
///
[PropertyInfo]
private double _scaleY ;
}
}