Skia
2D Graphics Library
SkPath1DPathEffect Class Reference

#include <Sk1DPathEffect.h>

Public Types

enum  Style { kTranslate_Style , kRotate_Style , kMorph_Style , kLastEnum_Style = kMorph_Style }
 

Static Public Member Functions

static sk_sp< SkPathEffectMake (const SkPath &path, SkScalar advance, SkScalar phase, Style)
 Dash by replicating the specified path. More...
 
static void RegisterFlattenables ()
 

Member Enumeration Documentation

◆ Style

Enumerator
kTranslate_Style 
kRotate_Style 
kMorph_Style 
kLastEnum_Style 

Member Function Documentation

◆ Make()

static sk_sp<SkPathEffect> SkPath1DPathEffect::Make ( const SkPath path,
SkScalar  advance,
SkScalar  phase,
Style   
)
static

Dash by replicating the specified path.

Parameters
pathThe path to replicate (dash)
advanceThe space between instances of path
phasedistance (mod advance) along path for its initial position
stylehow to transform path at each point (based on the current position and tangent)

◆ RegisterFlattenables()

static void SkPath1DPathEffect::RegisterFlattenables ( )
static

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