documentationfor yFiles for HTML 3.0.0.3

Usages of Fill

Properties

fillin ArrowGets the fill to fill this arrow.
fillin ArrowEdgeStyleGets or sets the Fill for filling the interior of the shape.
fillin ArrowNodeStyleGets or sets the Fill for filling the interior of the shape.
fillin GeneralPathNodeStyleGets or sets the Fill that is used to draw the shape.
contentAreaFillin GroupNodeStyleGets or sets the Fill used for the content area.
iconBackgroundFillin GroupNodeStyleGets or sets the Fill used for the background of the icon.
iconForegroundFillin GroupNodeStyleGets or sets the Fill used for the foreground of the icon.
tabBackgroundFillin GroupNodeStyleGets or sets the Fill used for the tab background.
tabFillin GroupNodeStyleGets or sets the Fill used for the tab foreground.
backgroundFillin IconLabelStyleGets or sets the Fill of the icon backgroundShape for this style.
backgroundFillin ImageNodeStyleGets or sets the Fill of the image backgroundShape for this style.
backgroundFillin LabelStyleGets or sets the brush to use for the background box of the label.
textFillin LabelStyleGets or sets the brush to use for the label's text.
backgroundFillin MarkupLabelStyleGets or sets the brush to use for the background box of the label.
textFillin MarkupLabelStyleGets or sets the brush to use for the label's text.
fillin RectangleNodeStyleGets or sets the Fill for filling the interior of the shape.
fillin ShapeNodeStyleGets or sets the fill for this style.
fillin ShapePortStyleGets or sets the Fill for this style.
CURRENT_COLORin Color
fillin StrokeGets or sets the fill for the Stroke.
backgroundin SvgExportGets or sets the background color for the exported SVG.

Method Return Values

freeze ()in FillFreezes and returns this instance.
from (Fill)in FillCreates a Fill instance from the given fill-like object by performing automatic type conversion.
freeze ()in LinearGradient
freeze ()in RadialGradient

Method Parameters

Arrow (ArrowType, Fill?, Stroke?, number?, number?, number?, boolean?)in ArrowCreates a new arrow.
ArrowEdgeStyle ()in ArrowEdgeStyle
ArrowNodeStyle ()in ArrowNodeStyle
GeneralPathNodeStyle (GeneralPath?, )in GeneralPathNodeStyleCreates a new instance using the specified path.
GroupNodeStyle ()in GroupNodeStyleInitializes a new instance.
IconLabelStyle ()in IconLabelStyleCreates a new instance.
ImageNodeStyle (string?, )in ImageNodeStyleCreates a new instance that uses the specified image.
LabelStyle ()in LabelStyle
MarkupLabelStyle ()in MarkupLabelStyleCreates a new instance using an ILabelStyleRenderer implementation as renderer.
RectangleNodeStyle ()in RectangleNodeStyle
ShapeNodeStyle ()in ShapeNodeStyle
ShapePortStyle ()in ShapePortStyleInitializes a new instance of this class.
hasSameValue (Fill)in ColorDetermines whether this Color is equal to the specified object.
hasSameValue (Fill)in CssFillDetermines whether this CssFill is equal to the specified object.
from (Fill)in FillCreates a Fill instance from the given fill-like object by performing automatic type conversion.
hasSameValue (Fill)in FillDetermines whether this Fill is equal to the specified object.
setFill (Fill, SVGElement, ICanvasContext)in FillSets the Fill on a given SVG element as the fill.
hasSameValue (Fill)in LinearGradientDetermines whether this LinearGradient is equal to the specified object.
hasSameValue (Fill)in PatternFillDetermines whether this PatternFill is equal to the specified object.
hasSameValue (Fill)in RadialGradientDetermines whether this RadialGradient is equal to the specified object.
Stroke (Fill?, number?, )in StrokeInitializes a new instance of the Stroke class using the given fill and thickness.
Stroke (number, number, number, number?, number?, )in StrokeInitializes a new instance of the Stroke class using the given rgba values and thickness.
SvgExport (Rect, number?, )in SvgExportCreates a new SvgExport instance for the given world bounds and scale.

Extending Types

ColorRepresents an ARGB (alpha, red, green, blue) encoded color object.
CssFillFills an area with a specified CSS or SVG color value.
LinearGradientFills an area with a linear gradient.
PatternFillFills an area with a SVG pattern.
RadialGradientFills an area with a radial gradient.