John W. Campbell
This class stores and restores a section extracted from an image.
Class, constructor and methods:
Class Details
Accessible Fields
Constructor
Methods
- Package:
- Jdl.JdlLib;
- Class name:
- JdlImageSection
- Class definition:
- public class JdlImageSection
- Extends:
- Object
- Implements:
- none
- Actions:
- none
No fields with public, package or protected access defined.
A single constructor is available.
Constructor:
Standard constructor
Constructs a JdlImageSection object to save and restore a section of the
given image.
- Constructor Definition:
- public JdlImageSection(Image img)
- Parameters List:
- none
This section contains methods for saving and restoring an image section
Methods:
Save section - saveSection
Restore section - restoreSection
This method saves a section from the image.
- Method Definition:
- public void saveSection(int xo, int yo, int w, int h)
- Parameters List:
- xo
- The section 'x' origin offset.
- yo
- The section 'y' origin offset.
- w
- The section width.
- h
- The section height.
This method restores the saved section of the image.
- Method Definition:
- public void restoreSection()
- Parameters List:
- none
⇑ Up 2
⇑ Up 1
⇑ Top of this