Creates an
BitmapBrushfrom the specified bitmap.
シンタックス
'宣言
Public Overloads Shared Function Create( _
ByVal As DeviceContext, _
ByVal As Bitmap1, _
ByVal As System.Nullable(Of BitmapBrushProperties1), _
ByVal As System.Nullable(Of BrushProperties) _
) As BitmapBrush1
public static BitmapBrush1 Create(
DeviceContext ,
Bitmap1 ,
System.Nullable<BitmapBrushProperties1> ,
System.Nullable<BrushProperties>
)
パラメータ
- deviceContext
- an instance of DeviceContext
- bitmap
- The bitmap contents of the new brush.
- bitmapBrushProperties
- The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the ExtendMode.Clamphorizontal and vertical extend modes and the BitmapInterpolationMode.Linearinterpolation mode.
- brushProperties
- The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.
参照