Class G2DClippingManager
java.lang.Object
org.scilab.forge.scirenderer.implementation.g2d.clipping.G2DClippingManager
- All Implemented Interfaces:
ClippingManager
- Author:
- Calixte DENIZET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDisable all clipping plane.getClippingPlane(int i) Return the i-th clipping plane.intReturn the number of available clipping plane.
-
Constructor Details
-
G2DClippingManager
Default constructor.- Parameters:
drawingTools- used drawing tools.
-
-
Method Details
-
getClippingPlanes
-
getClippingPlaneNumber
public int getClippingPlaneNumber()Description copied from interface:ClippingManagerReturn the number of available clipping plane. At least 6 clipping plane are supported.- Specified by:
getClippingPlaneNumberin interfaceClippingManager- Returns:
- the number of available clipping plane.
-
getClippingPlane
Description copied from interface:ClippingManagerReturn the i-th clipping plane.nullis returned if i is not a valid index.- Specified by:
getClippingPlanein interfaceClippingManager- Parameters:
i- the given index.- Returns:
- the i-th clipping plane.
-
disableClipping
public void disableClipping()Description copied from interface:ClippingManagerDisable all clipping plane.- Specified by:
disableClippingin interfaceClippingManager
-