Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D.Effects Namespace / DistantDiffuse Class
Properties Methods Events

In This Topic
    DistantDiffuse Class Members
    In This Topic

    The following tables list the members exposed by DistantDiffuse.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the DistantDiffuse class.  
    Top
    Public Properties
     NameDescription
    Public PropertyThe direction angle of the light source in the XY plane relative to the X-axis in the counter clock wise direction. The units are in degrees and must be between 0 and 360 degrees.  
    Public PropertyGets or sets Cached property. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public PropertyThe color of the incoming light. This property is exposed as a GrapeCity.Documents.DX.Vector3 – (R, G, B) and used to compute LR, LG, LB.  
    Public PropertyGets or sets the associated instance of GrapeCity.Documents.DX.Direct2D.ICustomEffect. (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public PropertyThe ratio of diffuse reflection to amount of incoming light. This property must be between 0 and 10,000 and is unitless.  
    Public PropertyThe direction angle of the light source in the YZ plane relative to the Y-axis in the counter clock wise direction. The units are in degrees and must be between 0 and 360 degrees.  
    Public PropertyGets a value indicating whether this instance is disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public PropertyThe size of an element in the Sobel kernel used to generate the surface normal in the X and Y direction. This property maps to the dx and dy values in the Sobel gradient. This property is a GrapeCity.Documents.DX.Vector2 (Kernel Unit Length X, Kernel Unit Length Y) and is defined in (device-independent pixels (DIPs)/Kernel Unit). The effect uses bilinear interpolation to scale the bitmap to match size of kernel elements.  
    Public PropertyGet a pointer to the underlying Cpp Object (Inherited from GrapeCity.Documents.DX.CppObject)
    Public PropertyThe interpolation mode the effect uses to scale the image to the corresponding kernel unit length. There are six scale modes that range in quality and speed. If you don't select a mode, the effect uses the interpolation mode of the device context. See Scale modes for more info.  
    Public PropertyThe scale factor in the Z direction. The value is unitless and must be between 0 and 10,000.  
    Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from GrapeCity.Documents.DX.CppObject)
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Initializes a new instance of DistantDiffuse effect.  
    Public MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodvoid ID2D1Effect::GetInput([In] unsigned int index,[Out, Optional] ID2D1Image** input) (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public Methodunsigned int ID2D1Effect::GetInputCount() (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodvoid ID2D1Effect::GetOutput([Out] ID2D1Image** outputImage) (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodunsigned int ID2D1Properties::GetPropertyCount() (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodunsigned int ID2D1Properties::GetPropertyIndex([In] const wchar_t* name) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodOverloaded. Gets the number of characters for the given property name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodunsigned int ID2D1Properties::GetPropertyNameLength([In] unsigned int index) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodHRESULT ID2D1Properties::GetSubProperties([In] unsigned int index,[Out, Optional] ID2D1Properties** subProperties) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodD2D1_PROPERTY_TYPE ID2D1Properties::GetType([In] unsigned int index) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodOverloaded. Gets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodHRESULT ID2D1Properties::GetValueByName([In] const wchar_t* name,[In] D2D1_PROPERTY_TYPE type,[Out, Buffer] void* data,[In] unsigned int dataSize) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodunsigned int ID2D1Properties::GetValueSize([In] unsigned int index) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodOverloaded. Query this instance for a particular COM GUID/interface support. (Inherited from GrapeCity.Documents.DX.ComObject)
    Public MethodOverloaded. Query instance for a particular COM GUID/interface support. (Inherited from GrapeCity.Documents.DX.ComObject)
    Public MethodSets the named property to the given value. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodvoid ID2D1Effect::SetInput([In] unsigned int index,[In, Optional] ID2D1Image* input,[In] BOOL invalidate) (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodHRESULT ID2D1Effect::SetInputCount([In] unsigned int inputCount) (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodSets the input by using the output of a given effect. (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodOverloaded. Sets the named property to the given value. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodOverloaded. Sets the named property to the given value. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Top
    Public Events
     NameDescription
    Public EventOccurs when this instance is fully disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public EventOccurs when this instance is starting to be disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Top
    See Also