您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
94 行
1.9 KiB
94 行
1.9 KiB
namespace Unity.UIWidgets.ui {
|
|
public abstract class DrawCmd {
|
|
}
|
|
|
|
public class DrawSave : DrawCmd {
|
|
}
|
|
|
|
public class DrawSaveLayer : DrawCmd {
|
|
public Rect rect;
|
|
public Paint paint;
|
|
}
|
|
|
|
public class DrawRestore : DrawCmd {
|
|
}
|
|
|
|
public class DrawTranslate : DrawCmd {
|
|
public float dx;
|
|
public float dy;
|
|
}
|
|
|
|
public class DrawScale : DrawCmd {
|
|
public float sx;
|
|
public float? sy;
|
|
}
|
|
|
|
public class DrawRotate : DrawCmd {
|
|
public float radians;
|
|
public Offset offset;
|
|
}
|
|
|
|
public class DrawSkew : DrawCmd {
|
|
public float sx;
|
|
public float sy;
|
|
}
|
|
|
|
public class DrawConcat : DrawCmd {
|
|
public Matrix3 matrix;
|
|
}
|
|
|
|
public class DrawResetMatrix : DrawCmd {
|
|
}
|
|
|
|
public class DrawSetMatrix : DrawCmd {
|
|
public Matrix3 matrix;
|
|
}
|
|
|
|
public class DrawClipRect : DrawCmd {
|
|
public Rect rect;
|
|
}
|
|
|
|
public class DrawClipRRect : DrawCmd {
|
|
public RRect rrect;
|
|
}
|
|
|
|
public class DrawClipPath : DrawCmd {
|
|
public Path path;
|
|
}
|
|
|
|
public class DrawPath : DrawCmd {
|
|
public Path path;
|
|
public Paint paint;
|
|
}
|
|
|
|
public class DrawImage : DrawCmd {
|
|
public Image image;
|
|
public Offset offset;
|
|
public Paint paint;
|
|
}
|
|
|
|
public class DrawImageRect : DrawCmd {
|
|
public Image image;
|
|
public Rect src;
|
|
public Rect dst;
|
|
public Paint paint;
|
|
}
|
|
|
|
public class DrawImageNine : DrawCmd {
|
|
public Image image;
|
|
public Rect src;
|
|
public Rect center;
|
|
public Rect dst;
|
|
public Paint paint;
|
|
}
|
|
|
|
public class DrawPicture : DrawCmd {
|
|
public Picture picture;
|
|
}
|
|
|
|
public class DrawTextBlob : DrawCmd {
|
|
public TextBlob textBlob;
|
|
public Offset offset;
|
|
public Paint paint;
|
|
}
|
|
}
|