Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeGradientHandles::Handle Struct Reference

#include <KoShapeGradientHandles.h>

Public Types

enum  Type {
  None , LinearStart , LinearEnd , RadialCenter ,
  RadialRadius , RadialFocalPoint
}
 

Public Member Functions

 Handle ()
 
 Handle (Type t, const QPointF &p)
 

Public Attributes

QPointF pos
 
Type type
 

Detailed Description

Definition at line 21 of file KoShapeGradientHandles.h.

Member Enumeration Documentation

◆ Type

Constructor & Destructor Documentation

◆ Handle() [1/2]

KoShapeGradientHandles::Handle::Handle ( )
inline

◆ Handle() [2/2]

KoShapeGradientHandles::Handle::Handle ( Type t,
const QPointF & p )
inline

Definition at line 32 of file KoShapeGradientHandles.h.

32: type(t), pos(p) {}
const Params2D p

Member Data Documentation

◆ pos

QPointF KoShapeGradientHandles::Handle::pos

Definition at line 35 of file KoShapeGradientHandles.h.

◆ type

Type KoShapeGradientHandles::Handle::type

Definition at line 34 of file KoShapeGradientHandles.h.


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