ColorFormat — Aspose.Slides FOSS for C++ API Reference

Enumerations ColorFormat Klasse gibt eine Farbe an, die für Formfüllungen, Linien, Text und Effekte verwendet wird. Farben können als RGB, Vorgabe oder Schema‑Farben ausgedrückt werden.

Enumerations: Aspose::Slides::Foss

#include <Aspose/Slides/Foss/color_format.h>
class ColorFormat

Enumerations: include/Aspose/Slides/Foss/color_format.h


IColorFormat‑Schnittstelle

Enumerations IColorFormat Schnittstelle (aus i_color_format.h) stellt Methoden zum Abrufen und Festlegen von Farbwerten bereit:

EnumerationsEnumerations
color_type()Gibt zurück ColorType (RGB, Schema, Vorgabe usw.).
set_color_type(ColorType)Setzt den Farbtyp.
color()Gibt den aufgelösten Farbwert zurück.
set_color(...)Setzt den Farbwert.
set_color_from_arg(uint8_t r, uint8_t g, uint8_t b)Setzt die Farbe aus RGB‑Komponenten.

SimpleColorFormat

Enumerations SimpleColorFormat Klasse bietet eine vereinfachte Farb‑Schnittstelle, die von Füllungen, Aufzählungszeichen und 3‑D‑Effekten verwendet wird:

EnumerationsEnumerations
color_type()Der Farbtyp.
preset_color()Voreingestellter Farbwert.
scheme_color()Schema-Farbwert.

Siehe auch

 Deutsch