Changes between Version 7 and Version 8 of GROUP_FILLING_R0
- Timestamp:
- 05/14/09 15:14:01 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUP_FILLING_R0
v7 v8 47 47 * Research is made for the gradient - the fastest way to do this task is to use the dialog JXGradientChooser again. This is from swinglabs library - add it in the dependency sections and in nexus server if needed. 48 48 * Note: JXGradientChooser has method showDialog which return the true MultipleGradientPaint. The method getGradient don't return it. 49 * Create ImmGradient class which has to wrap the MultipleGradientPaint(this is from batik library - add it manually to nexus, groupId - org.apache.batik.ext, artifactId - awd, version - 1.7beta1+r522428) 50 51 * Create interface with name Filling and with one method fill with Graphics2d and shape arguments. It will be implemented by ImmColor, ImmImage and ImmGradient - these will be the filling types of the ShapeElements. 49 * Create ImmGradient class which has to wrap the MultipleGradientPaint(this is from batik library). It has to be immutable and not to exposure anything from MultipleGradientPaint. It should have method which returns the MultipleGradientPaint object created by the ImmGradient fields. 50 * Create interface with name ImmFilling and with method fill with Graphics2d and shape arguments. Create method void transform(ImmColor immColor) which will transform the filling object with the given immutable color so that the transparency can be implemented easily. It will be implemented by ImmColor, ImmImage and ImmGradient - these will be the filling types of the ShapeElements. 52 51 * For the ImmImage use drawImage method and shape coordinates to fit the image in the frame correctly. 53 52 * In the ShapeSceneElement add new "filling" property which will represent the shape filling and will contain a Filling object. … … 55 54 * To keep the transparency active for now(for release purposes for example) check the filling instance - if it is color getEffectiveColor has to be called to make the color transparent(this should be improved for the other revisions). 56 55 * In FrameView and PageWorkArea in the backgroundElement you have to switch between background types and set the filling property depending on that. 57 * Implement this task in parralel with [wiki:GROUP_PAGE_PROPERTIES_R0] so it can be demonstrated as it is described in how to demo section. 56 * Implement this task in paralel with [wiki:GROUP_PAGE_PROPERTIES_R0] so it can be demonstrated as it is described in how to demo section. 57 * Make sure that all functionality run through true author main launcher. 58 58 * Because the task was timeboxed there are no tests presented and the pattern filling will be implemented in next revisions. 59 59