CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | Public Attributes | List of all members
CartoType::THachureParam Class Reference

#include <cartotype_graphics_context.h>

Public Member Functions

 THachureParam (TColor aColor, double aStrokeWidth, double aInterval, double aAngle)
 

Public Attributes

TColor iColor
 
double iStrokeWidth = 0
 
double iInterval = 0
 
double iAngle = 0
 

Detailed Description

Parameters defining a hachure pattern.

Constructor & Destructor Documentation

◆ THachureParam()

CartoType::THachureParam::THachureParam ( TColor  aColor,
double  aStrokeWidth,
double  aInterval,
double  aAngle 
)
inline

Constructs a THachureParam object from a color, stroke width, interval between strokes, and stroke angle.

Member Data Documentation

◆ iAngle

double CartoType::THachureParam::iAngle = 0

The stroke angle in radians.

◆ iColor

TColor CartoType::THachureParam::iColor

The stroke color.

◆ iInterval

double CartoType::THachureParam::iInterval = 0

The interval between strokes in pixels.

◆ iStrokeWidth

double CartoType::THachureParam::iStrokeWidth = 0

The stroke width in pixels.


The documentation for this class was generated from the following file: