|
aXSL API 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClipPa
The XSL-FO clip property.
| Method Summary | |
|---|---|
java.awt.Shape |
traitClip(FoContext context,
java.awt.Shape containerShape)
Returns the "clip" trait for this FO. |
boolean |
traitClipIsAuto(FoContext context)
Indicates whether the "clip" trait is "auto". |
| Method Detail |
|---|
java.awt.Shape traitClip(FoContext context,
java.awt.Shape containerShape)
context - An object that knows how to resolve FO Tree context
issues.containerShape - The shape of the actual area in which the clipping
will take place.
All encapsulated dimensions are expressed in millipoints.
This is needed because clipping information can be expressed relative to
the container.
To avoid unnecessarily computing the Shape of the container, client
applications can check traitClipIsAuto(FoContext) first.
traitClipIsAuto(FoContext)boolean traitClipIsAuto(FoContext context)
traitClip(FoContext, Shape) to
get the Shape that should be used for clipping.
This allows the client application to avoid computing the shape of the
container if it can.
context - An object that knows how to resolve FO Tree context
issues.
traitClip(FoContext, Shape)
|
aXSL API 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.