Pencil2D Animation
Download Community News Docs Contribute
  • Overview
  • Articles
  • Code
  •  
  • Class List
  • Class Index
  • Class Hierarchy
  • Class Members
  • File List
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
StrokeToolProperties Struct Reference
+ Inheritance diagram for StrokeToolProperties:
Inheritance graph
[legend]
+ Collaboration diagram for StrokeToolProperties:
Collaboration graph
[legend]

Public Types

enum  Type {
  START = 100 , WIDTH_VALUE = START , FEATHER_VALUE = 101 , STABILIZATION_VALUE = 102 ,
  PRESSURE_ENABLED = 103 , INVISIBILITY_ENABLED = 104 , FEATHER_ENABLED = 105 , ANTI_ALIASING_ENABLED = 106 ,
  FILLCONTOUR_ENABLED = 107 , END = 199
}
 

Public Member Functions

ToolProperties & toolProperties () override
 
void addRange (const QPair< int, int > range)
 
PropertyInfo getInfo (int rawPropertyType) const override
 
qreal width () const
 
qreal feather () const
 
int stabilizerLevel () const
 
bool pressureEnabled () const
 
bool invisibilityEnabled () const
 
bool featherEnabled () const
 
bool AntiAliasingEnabled () const
 
bool fillContourEnabled () const
 
virtual ToolProperties & toolProperties ()=0
 
virtual PropertyInfo getInfo (int rawPropertyType) const =0
 

Private Attributes

ToolProperties mToolProperties
 

Detailed Description

Definition at line 394 of file toolproperties.h.

Member Enumeration Documentation

◆ Type

enum StrokeToolProperties::Type

Definition at line 397 of file toolproperties.h.

Constructor & Destructor Documentation

◆ StrokeToolProperties()

StrokeToolProperties::StrokeToolProperties ( )
inline

Definition at line 412 of file toolproperties.h.

Member Function Documentation

◆ addRange()

void StrokeToolProperties::addRange ( const QPair< int, int >  range)
inline

Definition at line 429 of file toolproperties.h.

◆ AntiAliasingEnabled()

bool StrokeToolProperties::AntiAliasingEnabled ( ) const
inline

Definition at line 443 of file toolproperties.h.

◆ feather()

qreal StrokeToolProperties::feather ( ) const
inline

Definition at line 438 of file toolproperties.h.

◆ featherEnabled()

bool StrokeToolProperties::featherEnabled ( ) const
inline

Definition at line 442 of file toolproperties.h.

◆ fillContourEnabled()

bool StrokeToolProperties::fillContourEnabled ( ) const
inline

Definition at line 444 of file toolproperties.h.

◆ getInfo()

PropertyInfo StrokeToolProperties::getInfo ( int  rawPropertyType) const
inlineoverridevirtual

Implements ToolPropertiesBase.

Definition at line 433 of file toolproperties.h.

◆ invisibilityEnabled()

bool StrokeToolProperties::invisibilityEnabled ( ) const
inline

Definition at line 441 of file toolproperties.h.

◆ pressureEnabled()

bool StrokeToolProperties::pressureEnabled ( ) const
inline

Definition at line 440 of file toolproperties.h.

◆ stabilizerLevel()

int StrokeToolProperties::stabilizerLevel ( ) const
inline

Definition at line 439 of file toolproperties.h.

◆ toolProperties()

ToolProperties & StrokeToolProperties::toolProperties ( )
inlineoverridevirtual

Implements ToolPropertiesBase.

Definition at line 427 of file toolproperties.h.

◆ width()

qreal StrokeToolProperties::width ( ) const
inline

Definition at line 437 of file toolproperties.h.

Member Data Documentation

◆ mToolProperties

ToolProperties StrokeToolProperties::mToolProperties
private

Definition at line 447 of file toolproperties.h.


The documentation for this struct was generated from the following file:
  • core_lib/src/tool/toolproperties.h
Generated on Tue Dec 23 2025 02:59:17 for Pencil2D by doxygen 1.9.6 based on revision ba57a3de29b42de06bbb5b1757aa7f34e6bc4514