clarify doc

This commit is contained in:
faiface 2017-03-07 17:43:13 +01:00
parent 7feecc2e35
commit ee634c2a28
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ type Picture interface {
Bounds() Rect Bounds() Rect
// Slice returns a sub-Picture with specified Bounds. // Slice returns a sub-Picture with specified Bounds.
//
// A result Slice-ing outside the original Bounds is unspecified.
Slice(Rect) Picture Slice(Rect) Picture
// Original returns the most original Picture (may be itself) that this Picture was created // Original returns the most original Picture (may be itself) that this Picture was created