API Documentation > Interfaces > Interface WDisplay
Interface WDisplay

package com.ptc.wfc.wfcDisplay;

public interface
WDisplay
extends
com.ptc.pfc.pfcDisplay.Display


Description
Display and Grapchis related methods
Direct Known Subclasses:
User Guide References:
Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent :
Methods Inherited from Interface com.ptc.pfc.pfcDisplay.Display :
Method Summary
void
DrawPolylines (Polylines SetofPolyline)
Draws a set of polylines on the screen
Retrieves the standard color used for the specified object type
Sets color scheme of Creo Parametric session
Gets version of ColorRGB
/*cipOptional*/ ColorRGB
ModifyGraphicsColor ( /*cipOptional*/ ColorRGB Color)
Changes the color used to draw any subsequent graphics
/*cipOptional*/ ColorRGB
ModifyTextColor ( /*cipOptional*/ ColorRGB Color)
Changes the color used to draw any subsequent graphics window text color
void
Sets color scheme of Creo Parametric session
void
Sets version of ColorRGB
Method Detail
GetColorByObjectType
GetColorByObjectType
(DisplayedType DispType)
Retrieves the standard color used for the specified object type
Exceptions thrown (but not limited to):
XToolkitNotFound - No default color entry exists for this entity type.
User Guide References:
Parameters:
DispType
Type of object
Returns:
The color typically used by Creo to render the object
SetColorRGBAlternateScheme
void
SetColorRGBAlternateScheme
Sets color scheme of Creo Parametric session
User Guide References:
Parameters:
Scheme
A Scheme
Returns:
GetColorRGBAlternateScheme
GetColorRGBAlternateScheme
()
Sets color scheme of Creo Parametric session
User Guide References:
Returns:
A Scheme
SetColorRGBVersion
void
SetColorRGBVersion
(ColorRGBVersion Version)
Sets version of ColorRGB
User Guide References:
Parameters:
Version
Returns:
GetColorRGBVersion
GetColorRGBVersion
()
Gets version of ColorRGB
User Guide References:
Returns:
ModifyGraphicsColor
/*cipOptional*/ ColorRGB
ModifyGraphicsColor
( /*cipOptional*/ ColorRGB Color)
Changes the color used to draw any subsequent graphics
Exceptions thrown (but not limited to):
XToolkitNoChange - The current color is the same as the new color.
Parameters:
Color
The new color to use when drawing a graphics entity. If this is null method returns existing color
Returns:
Modfified color
ModifyTextColor
/*cipOptional*/ ColorRGB
ModifyTextColor
( /*cipOptional*/ ColorRGB Color)
Changes the color used to draw any subsequent graphics window text color
Exceptions thrown (but not limited to):
XToolkitNoChange - The current color is the same as the new color.
Parameters:
Color
The new color to use to display text. If this is null method returns existing color
Returns:
Modified color
DrawPolylines
void
DrawPolylines
(Polylines SetofPolyline)
Draws a set of polylines on the screen
User Guide References:
Parameters:
SetofPolyline
A sequence of polyline
Returns:
Was this helpful?