API Reference for Enthought Tool Suite 3.2.0
Class to aid in automatically computing the 'slice' points for a specified ImageResource and then drawing it that it can be 'stretched' to fit a larger region than the original image.
Define a reusable, default ImageSlice object:
default_image_slice = ImageSlice()
image_slice_cache = { }
Returns a (possibly cached) ImageSlice.
Recursively paint the parent's background if they have an associated image slice.
| Local name | Refers to |
|---|---|
| Bool | enthought.traits.trait_types.Bool |
| Color | enthought.traits.traits.Color |
| Enum | enthought.traits.trait_types.Enum |
| fromstring | numpy.fromstring |
| HasPrivateTraits | enthought.traits.has_traits.HasPrivateTraits |
| ImageResource | enthought.pyface.image_resource.ImageResource |
| Instance | enthought.traits.trait_types.Instance |
| Int | enthought.traits.trait_types.Int |
| List | enthought.traits.trait_types.List |
| reshape | numpy.reshape |
| rgb_to_hls | colorsys.rgb_to_hls |
| uint8 | numpy.uint8 |
| wx | wx |
© Copyright 2002-2009 Enthought, Inc.