Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / FillEffect Class
Members


In This Topic
    FillEffect Class
    In This Topic
    This object controls the filling applied on the object it is attached to. The FillEffect object packs together the properties necessary to apply solid color, gradient, texture (image), pattern or advanced gradient. You control the type of the filling by modifying the Type property. As well as modifying the filling parameters you can also specify how the filling is to be applied on the 3D object by using the GLTextureMapper object attached to the FillEffect. The FillEffect also encompasses the material properties which affect the appearance of the object when lighting is turned on.
    Object Model
    FillEffect Class
    Syntax
    'Declaration
     
    <ClassInterfaceAttribute(ClassInterfaceType.AutoDual)>
    <EditorAttribute(Xceed.Chart.Standard.FillEffectTypeEditor, System.Drawing.Design.UITypeEditor)>
    <SerializableAttribute()>
    Public Class FillEffect 
       Inherits Xceed.Chart.GraphicsCore.FillEffectBase
    'Usage
     
    Dim instance As FillEffect
    [ClassInterface(ClassInterfaceType.AutoDual)]
    [Editor(Xceed.Chart.Standard.FillEffectTypeEditor, System.Drawing.Design.UITypeEditor)]
    [Serializable()]
    public class FillEffect : Xceed.Chart.GraphicsCore.FillEffectBase 
    Inheritance Hierarchy

    System.Object
       Xceed.Chart.GraphicsCore.FillEffectBase
          Xceed.Chart.Standard.FillEffect

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyThe description of the advanced gradient applied on this fill effect.  
    Public PropertyThe ambient color of the FillEffectBase.  
    Public PropertyThe starting color of a gradient or pattern. The default value is white.  
    Public PropertyThe bitmap object used to create a texture if Type is set to FillEffectType.Image.  
    Public PropertyThe color of the FillEffectBase.  
    Public PropertyThe diffuse color of the FillEffectBase.  
    Public PropertyThe emissive color of the FillEffectBase.  
    Public PropertyThe end color of a gradient or pattern. The default value is black.  
    Public PropertyControls the gradient style of the FillEffectBase.  
    Public PropertyThe gradient variant of the FillEffectBase.  
    Public PropertyThe pattern type of the fill effect.  
    Public PropertyThe full path to an image file used to create a texture.  
    Public PropertyA collection containing image filters applied with this fill effect  
    Public PropertyThe mapping applied if the fill effect is of type gradient, pattern, image of advanced gradient.  
    Public PropertyThe shininess of the FillEffectBase.  
    Public PropertyThe specular color of the FillEffectBase.  
    Public PropertyControls the type of the fill effect. The possible values are SolidColor, Gradient, Image, Pattern or AdvancedGradient.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates an exact replica of this FillEffectBase instance (Inherited from Xceed.Chart.GraphicsCore.FillEffectBase)
    Public MethodGenerates a preview bitmap of this fill effect with the specified dimensions.  
    Public MethodGenerates a native brush of the current fill effect with the specified dimensions. This can be an instance of SolidBrush, LinearGradientBrush, PathGradientBrush or TextureBrush. (Inherited from Xceed.Chart.GraphicsCore.FillEffectBase)
    Public MethodGenerates a texture brush of the current fill effect with the specified dimensions. (Inherited from Xceed.Chart.GraphicsCore.FillEffectBase)
    Public MethodOverloaded. Initializes a fill effect from the properties of another fill effect object  
    Public MethodThis member is reserved for internal use and is not intended to be used directly from your code. (Inherited from Xceed.Chart.GraphicsCore.FillEffectBase)
    Public MethodUse this function to apply an advanced gradient fill effect. Note that this function will also change the current Mapping.  
    Public MethodUse this function to apply a texture fill effect contained in a bitmap object. Note that this function will also change the current Mapping.  
    Public MethodUse this function to apply a gradient fill effect. Note that this function will also change the current Mapping.  
    Public MethodUse this function to apply a texture fill effect. Note that this function will also change the current Mapping.  
    Public MethodUse this function to apply a pattern fill effect. Note that this function will also change the current Mapping.  
    Public MethodLoads a predefined advanced gradient in the fill effect.  
    Public MethodUse this function if you want to apply a solid color.  
    Public MethodSets the transparency percent of the diffuse and ambient material colors.  
    Public MethodOverloaded. Shows a fill effect dialog allowing you to visually edit the fill effect properties.  
    Public MethodSynchronizes the current texture mapper with the Type property of the FillEffectBase.  
    Top
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also