CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | Public Attributes | List of all members
CartoTypeCore::HachureParam Class Reference

#include <cartotype_graphics_context.h>

Public Member Functions

 HachureParam (CartoTypeCore::Color aColor, double aStrokeWidth, double aInterval, double aAngle)
 

Public Attributes

CartoTypeCore::Color Color
 
double StrokeWidth = 0
 
double Interval = 0
 
double Angle = 0
 

Detailed Description

Parameters defining a hachure pattern.

Constructor & Destructor Documentation

◆ HachureParam()

CartoTypeCore::HachureParam::HachureParam ( CartoTypeCore::Color  aColor,
double  aStrokeWidth,
double  aInterval,
double  aAngle 
)
inline

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

Member Data Documentation

◆ Angle

double CartoTypeCore::HachureParam::Angle = 0

The stroke angle in radians.

◆ Color

CartoTypeCore::Color CartoTypeCore::HachureParam::Color

The stroke color.

◆ Interval

double CartoTypeCore::HachureParam::Interval = 0

The interval between strokes in pixels.

◆ StrokeWidth

double CartoTypeCore::HachureParam::StrokeWidth = 0

The stroke width in pixels.


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