<< Click to Display Table of Contents >> NShape Reference
|
Defines a position relative to a shape.
public class RelativePosition |
This structure is a generic type for relative positions. The meaning of A and B completely depends on the shape class, which fills the structure in the CalculateRelativePosition method and reads it in the CalculateAbsolutePosition method. Therefore, a RelativePosition value received from a given shape must only be passed to the identical shape for reading.
Name |
Description |
---|---|
Component 'A' of the relative position. |
|
Component 'B' of the relative position |
|
Represents an uninitialized, empty relative position. |
Name |
Description |
---|---|
Returns true if the given object is a RelativePosition and its value equals the value of the current RelativePosition. |
|
Calculates a hash code for the current RelativePosition. |
Name |
Description |
---|---|
Tests inequality of two RelativePosition values. |
|
Tests equality of two RelativePosition values. |
Namespace: Dataweb.NShape
Assembly: Dataweb.NShape