类型 Image
API 文档由 Go 源码生成,内容为英文。
type Image struct {
Bitmap Bitmap
Source Rect
Bounds Rect
Layer uint16
ClipOf Rect
HasClip bool
// Backdrop marks an image drawn beneath every other primitive of the frame,
// whatever layer they are on. See Canvas.DrawBackdrop.
Backdrop bool
}Image is one bitmap draw. Source is measured in bitmap pixels. ClipOf and HasClip capture the active clip intersection at paint time.