Class Effect
Represents a class to create color effecs for diagram themes.
Inheritance
System.Object
Effect
Namespace: Syncfusion.UI.Xaml.Diagram.Theming
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class Effect : Object
Constructors
Effect()
Declaration
public Effect()
Properties
Fill
Gets or sets the fill color value of color effects.
Declaration
public ColorPattern Fill { get; set; }
Property Value
Type |
---|
ColorPattern |
FontFamily
Gets or sets the font family value of color effects.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
Type |
---|
System.Windows.Media.FontFamily |
FontSize
Gets or sets the font size value of color effects.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
Foreground
Gets or sets the foreground color value of color effects.
Declaration
public ColorPattern Foreground { get; set; }
Property Value
Type |
---|
ColorPattern |
Name
Gets or sets the color effect name.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
Stroke
Gets or sets the stroke color value of color effects.
Declaration
public ColorPattern Stroke { get; set; }
Property Value
Type |
---|
ColorPattern |
StrokeThickness
Gets or sets the stroke line thickness value of color effects.
Declaration
public double StrokeThickness { get; set; }
Property Value
Type |
---|
System.Double |
Methods
GenerateStyle(Theme, String)
To generate the theme styles for diagram objects.
Declaration
public virtual DiagramItemStyle GenerateStyle(Theme theme, string accent)
Parameters
Type | Name | Description |
---|---|---|
Theme | theme | Gets the theme name. |
System.String | accent | Gets theme varity name. |
Returns
Type | Description |
---|---|
DiagramItemStyle | Retunrs theme style. |