共用方式為


IVsGradient Interface

Definition

Enables a VSPackage to paint specified UI elements with the proper gradient.

public interface class IVsGradient
public interface class IVsGradient
__interface IVsGradient
[System.Runtime.InteropServices.Guid("FD3F680A-D5C1-437A-8A21-8084310BF037")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsGradient
[<System.Runtime.InteropServices.Guid("FD3F680A-D5C1-437A-8A21-8084310BF037")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsGradient = interface
Public Interface IVsGradient
Attributes

Methods

DrawGradient(IntPtr, IntPtr, RECT[], RECT[])

Draws a given gradient at a specified location.

GetGradientVector(Int32, UInt32[])

Returns an array of colors used to create a brush for a given gradient.

Applies to