Fill 11 entries
uniform, gradient and pattern fills
Entries in this section
- shape.Fill.TypeFill type. 0 none / 1 uniform / 2 fountain / 3 PostScript / 8 texture / 9 pattern / 10 bit
- shape.Fill.UniformColorThe color object behind a uniform fill. Requires Fill.Type == 1, otherwise access raises.
- shape.Fill.UniformColor.RGBAssign(r, g, b)Assigns RGB, each component 0-255. RGBAssign(0, 133, 205) in the code is that blue title b
- shape.Fill.UniformColor.CMYKAssign(c, m, y, k)Assigns CMYK. More accurate for anything that goes to press.
- shape.Fill.UniformColor.HexValueHex color value, e.g. "#FFFF00". Call .upper() on the way out before comparing — CDR is in
- shape.Fill.UniformColor.RGBRed / .RGBGreen / .RGBBlueReads one channel at a time.
- shape.Fill.UniformColor.CMYKCyan / .CMYKMagenta / .CMYKYellow / .CMYKBlackReads one CMYK channel at a time.
- shape.Fill.ApplyUniformFill(color)Sets a uniform fill in one call; build the color with app.CreateRGBColor(). Fewer hops tha
- shape.Fill.ApplyNoFill()Removes the fill.
- shape.Fill.ApplyFountainFill(...)Gradient fill: start color, end color, type, angle, edge pad, midpoint.
- shape.Fill.FountainThe existing gradient object: .Colors, .Type, .Angle, .CenterX/Y.
Getting StartedConnection & InitApplicationDocumentPageLayer & ShapesGeometry & TransformGroup / Order / BooleanShape AppearanceTextTextRangeFillOutlinePowerClipFountain FillPattern / Texture FillTransparency & BlendEffectsColorCurve & NodeBitmapFind & TraverseUnits & ConversionImport / ExportEnumerationsObject DataAlign / DistributeLayer AdvancedView & PerformanceEventsRecipesPitfalls