racket/collects/mrlib/scribblings/aligned-pasteboard/stretchable-snip-intf.scrbl
Eli Barzilay ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00

35 lines
688 B
Racket

#lang scribble/doc
@(require "common.rkt")
@definterface/title[stretchable-snip<%> ()]{
This interface must be implemented by any snip class who's
objects will be stretchable when inserted into an
@racket[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
}}