racket/collects/mrlib/scribblings/aligned-pasteboard/stretchable-snip-intf.scrbl
2008-01-10 20:07:32 +00:00

35 lines
687 B
Racket

#lang scribble/doc
@(require "common.ss")
@definterface/title[stretchable-snip<%> ()]{
This interface must be implemented by any snip class who's
objects will be stretchable when inserted into an
@scheme[aligned-pasteboard<%>].
@defmethod[(get-aligned-min-height)
real?]{
The minimum height that the snip can be resized to
}
@defmethod[(get-aligned-min-width)
real?]{
The minimum width that the snip can be resized to.
}
@defmethod[(stretchable-height)
boolean?]{
Whether or not the snip can be stretched in the Y dimension
}
@defmethod[(stretchable-width)
boolean?]{
Whether or not the snip can be stretched in the X dimension
}}