DiagramShapeHoverFillSettingsBuilder
Methods
Color(System.String)
Defines the shape hover fill color.
Parameters
value - System.String
The value that configures the color.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Shapes(shape => shape
.Add().Hover(h => h.Fill(f => f.Color("pink")))
)
)
Opacity(System.Double)
Defines the shape hover fill opacity.
Parameters
value - System.Double
The value that configures the opacity.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Shapes(shape => shape
.Add().Hover(h => h.Fill(f => f.Opacity(0.5)))
)
)