RelativeRect.FromPixelRect method
小于 1 分钟
RelativeRect.FromPixelRect method
将像素坐标转换为相对坐标。 常用于编辑器在拖拽结束后把 UI 结果回写到配置模型。
public static RelativeRect FromPixelRect(double x, double y, double w, double h, double imageWidth,
double imageHeight)See Also
- struct RelativeRect
- namespace neo_bpsys_wpf.Core.Models
