Swatch

Search for usage in LXR

Swatch Class Reference

#include <Swatch.h>

Public Member Functions

 Swatch (const Swatch &rhs)
 
ManagedColorcolor () const
 
QString id () const
 
bool isValid () const
 
QString name () const
 
Swatchoperator= (const Swatch &rhs)
 
void setColor (ManagedColor *color)
 
void setId (const QString &id)
 
void setName (const QString &name)
 
void setSpotColor (bool spotColor)
 
bool spotColor () const
 

Detailed Description

The Swatch class is a thin wrapper around the KisSwatch class.

A Swatch is a single color that is part of a palette, that has a name and an id. A Swatch color can be a spot color.

Definition at line 21 of file Swatch.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Dec 4 2022 04:12:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.