Click or drag to resize

CMVIEWPatStyle Method

Sets the tiling method (i.e. rectangle, triangle)

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void PatStyle(
	int style
)

public void PatStyle(
	int style
)

Parameters

style
Type: SystemInt32
<define>MVIEW_TILE</define>
Remarks
Normally, the unit cell is duplicated across the fill area like floor tiles (<define>MVIEW_TILE_RECTANGULAR</define>). DIAGONAL tiling rotates the tiling positions (but not the tiles) by 45 degrees. TRIANGULAR tiling Offsets each succeeding row by half the unit cell size, and lessens the vertical offset, so that the unit cell centers form a triangular grid pattern. RANDOM tiling adds small random offsets in both directions to give the diffuse effect seen on many geological maps. NOTE: Some patterns are designed to be interlocking and may only work "correctly" with one tiling method. See the IMPORTANT note for sPatNumber_MVIEW().
See Also