←Select platform

Colors Property

Summary

Gets or sets an array of RasterColor structures that contain the colors that will be added to the grayscale image.

Syntax

C#
VB
Java
Objective-C
C++
public RasterColor[] Colors { get; set; } 
Public Property Colors As Leadtools.RasterColor() 
@property (nonatomic, strong) NSMutableArray<LTRasterColor *> *colors 
public RasterColor[] getColors() 
public void setColors(RasterColor[] value) 
             

Property Value

Array of RasterColor structures that contain the colors that will be added to the grayscale image. This property is ignored when the Distribution property is set to UserDefined. If the toolkit is generating the gradient colors, the user sets the desired base color(s) in this property when GrayScaleToMultitoneCommand is called. The number of entries in the array depends on the value of Tone: 1 for Monotone, 2 for Duotone, 3 for Tritone, 4 for Quadtone. When the toolkit generates the array of gradient colors.

Example

Refer to GrayScaleToMultitoneCommand.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly