public bool GeneratePolygonColors(ColorRamp colorRamp = null)
        {
            ColorScheme scheme = null;

            if (colorRamp != null)
            {
                scheme = colorRamp.GetInternal();
            }
            return(_categories.GeneratePolygonColors(scheme));
        }
 public void ApplyColorScheme(SchemeType type, ColorRamp colorRamp, StyleElement shapeElement, int categoryStartIndex,
                              int categoryEndIndex)
 {
     _categories.ApplyColorScheme3((tkColorSchemeType)type, colorRamp.GetInternal(), (tkShapeElements)shapeElement,
                                   categoryStartIndex, categoryEndIndex);
 }
 public void ApplyColorScheme(SchemeType type, ColorRamp colorRamp, StyleElement shapeElement)
 {
     _categories.ApplyColorScheme2((tkColorSchemeType)type, colorRamp.GetInternal(), (tkShapeElements)shapeElement);
 }
 public void ApplyColorScheme(SchemeType type, ColorRamp colorRamp)
 {
     _categories.ApplyColorScheme((tkColorSchemeType)type, colorRamp.GetInternal());
 }
Exemple #5
0
 public void ApplyColors(SchemeType coloringType, ColorRamp colors)
 {
     _labels.ApplyColorScheme((tkColorSchemeType)coloringType, colors.GetInternal());
 }
Exemple #6
0
 public bool ApplyColors(SchemeType schemeType, ColorRamp colorScheme, bool gradientWithinCategories)
 {
     return(_scheme.ApplyColors((tkColorSchemeType)schemeType, colorScheme.GetInternal(), gradientWithinCategories));
 }