Skia
2D Graphics Library
SkPathEffect::DashInfo Struct Reference

#include <SkPathEffect.h>

Public Member Functions

 DashInfo ()
 
 DashInfo (SkScalar *intervals, int32_t count, SkScalar phase)
 

Public Attributes

SkScalarfIntervals
 Length of on/off intervals for dashed lines. More...
 
int32_t fCount
 Number of intervals in the dash. Should be even number. More...
 
SkScalar fPhase
 Offset into the dashed interval pattern. More...
 

Constructor & Destructor Documentation

◆ DashInfo() [1/2]

SkPathEffect::DashInfo::DashInfo ( )
inline

◆ DashInfo() [2/2]

SkPathEffect::DashInfo::DashInfo ( SkScalar intervals,
int32_t  count,
SkScalar  phase 
)
inline

Member Data Documentation

◆ fCount

int32_t SkPathEffect::DashInfo::fCount

Number of intervals in the dash. Should be even number.

◆ fIntervals

SkScalar* SkPathEffect::DashInfo::fIntervals

Length of on/off intervals for dashed lines.

◆ fPhase

SkScalar SkPathEffect::DashInfo::fPhase

Offset into the dashed interval pattern.


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