The GwxGridOptions type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FindPointToSnap |
Given a mouse position (in root-space coordinates), determines the point related to the specified element to snap to the grid.
The returned point will be the point closest to the mouse position, based on the snap sub-options configured for this instance of GwxGridOptions.
| |
GetActualHeight |
Gets the actual/calculated height of a grid unit. This value may differ from the "configured" Height property value.
For example, for axonometric grids, the height is auto-calculated based on the
Width()()()(), Angle1()()()(), and Angle2()()()().
| |
GetActualWidth |
Gets the actual/calculated width of a grid unit. Currently just returns the "configured" Width property value.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ShouldSnap |
Determines if points should be snapped to the grid. The returned value may differ from the configured Snap()()()()
property, for example, if the Alt key is currently pressed to temporarily disable snapping.
| |
ShouldSnapToObjects |
Determines if objects should snap to other objects in the display when moving, resizing, etc.
| |
SnapPointToGrid(Point) |
Snaps the specified point to the grid.
| |
SnapPointToGrid(Point, GeneralTransform) |
Snaps the specified point to the grid.
| |
SnapPointToGridDeviceSpace |
Snaps the specified point to the grid in the device space (pixels).
| |
SnapPointToObjects(Point) |
Snaps the specified point to a nearby object in the display.
| |
SnapPointToObjects(Point, String%) |
Snaps the specified point to a nearby object in the display.
| |
ToggleGrid |
Toggles Visible()()()() and Snap()()()() properties.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TrySnapToObjects |
Tries to snap the specified objects to other objects in the display when moving the specified objects.
|