User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.tocmyk_double_double_double_double

Table of Contents

TGIS_Color.ToCMYK method

DK11 for Delphi | GisTypesUI.TGIS_Color.ToCMYK | Fields | Methods | Properties

Retrieves the cyan (C), magenta (M), yellow (Y), and black (K) components of the current color.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  procedure ToCMYK(
    var _c : Double;
    var _m : Double;
    var _y : Double;
    var _k : Double
  ); inline;
// C++ Builder
public:
  void ToCMYK(
    double &_c,
    double &_m,
    double &_y,
    double &_k
  );

Parameters

Name Type Description
_c Double cyan; expected value: 0..1
_m Double magenta; expected value: 0..1
_y Double yellow; expected value: 0..1
_k Double key (black); expected value: 0..1
2022/11/30 19:19

Page Tools