Table of Contents

Method Shift

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Shift(int)

Gets how far the point a text of the cell typed in is attached at has moved along the table, in the drawing: the block's top edge for a text attached at the top (1 to 3), its bottom edge at the bottom (7 to 9), the middle of the block between them. Nought while the rows are as they stand.

public GeoVector2 Shift(int attachment)

Parameters

attachment int

How the text is attached, 1 top left to 9 bottom right.

Returns

GeoVector2

The shift to add to the point the editor was opened at.