IDraw2DContext

Exposes a context to draw 2D features.

Declaration Syntax

public interface IDraw2DContext

Table 916:  Members

Method

Clear()

Clear the context.

Method

DrawText2D(IPoint, string)

Draws text at the given point.

Method

DrawText2D(int, int, string)

Draws text at the given x and y pixel coordinates.

Method

LineTo2D(IPoint)

Draws a line from the current position to the given point.

Method

LineTo2D(int, int)

Draws a line from the current position to the given x and y pixel coordinates.

Method

MoveTo2D(IPoint)

Moves the pencil to the given point.

Method

MoveTo2D(int, int)

Moves the pencil to the given x and y pixel coordinates.



Release 18.2 - © ANSYS, Inc. All rights reserved.