 | CMVIEWPatAngle Method |
Sets the pattern angle
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void PatAngle(
double angle
)
public void PatAngle(
double angle
)
Public Sub PatAngle (
angle As Double
)
Public Sub PatAngle (
angle As Double
)
public:
void PatAngle(
double angle
)
public:
void PatAngle(
double angle
)
member PatAngle :
angle : float -> unit
member PatAngle :
angle : float -> unit
Parameters
- angle
- Type: SystemDouble
Angle
Remarks
Allows the user to apply a rotation to the basic
pattern. Care should be taken to ensure that the
tiling remains continuous; i.e. if the pattern
consists of horizontal lines, only angles of
-90, 0, 90, 180 (etc.) would give seamless tiling.
However, simple, closed figure, such as a star,
could be given any angle.
Rotations about the center point (0.5, 0.5) of the
unit cell are performed prior to applying PatSize.
The default value is 0.0.
Setting an angle of -999 inititates the random angle
feature, and each pattern tile is rotated to a different
angle. Using this along with PatStyle(View, <define>MVIEW_TILE_RANDOM</define>)
can give a "hand-drawn" effect to geological fills.
See the IMPORTANT note for sPatNumber_MVIEW().
See Also