TextureBrush

TextureBrush(Image)

Yeni bir örneğini başlatırTextureBrush belirtilen görüntüyü kullanan sınıf.

public TextureBrush(Image bitmap)
ParametreTipTanım
bitmapImagebuImage bununla nesneTextureBrush nesne içleri doldurur.

istisnalar

istisnaşart
ArgumentNullExceptionbubitmap boş.

Ayrıca bakınız


TextureBrush(Image, WrapMode)

Yeni bir örneğini başlatırTextureBrush belirtilen görüntüyü ve sarma modunu kullanan sınıf.

public TextureBrush(Image image, WrapMode wrapMode)
ParametreTipTanım
imageImageGörüntü.
wrapModeWrapModeAWrapMode bunun nasıl olduğunu belirten numaralandırmaTextureBrush nesne döşenmiştir.

istisnalar

istisnaşart
ArgumentNullExceptionbuimage boş.

Ayrıca bakınız


TextureBrush(Image, WrapMode, RectangleF)

Yeni bir örneğini başlatırTextureBrush belirtilen görüntüyü, sarma modunu ve sınırlayıcı dikdörtgeni kullanan sınıf.

public TextureBrush(Image image, WrapMode wrapMode, RectangleF dstRect)
ParametreTipTanım
imageImageGörüntü.
wrapModeWrapModeAWrapMode bunun nasıl olduğunu belirten numaralandırmaTextureBrush nesne döşenmiştir.
dstRectRectangleFARectangleF bunun için sınırlayıcı dikdörtgeni temsil eden yapıTextureBrush nesne.

istisnalar

istisnaşart
ArgumentNullExceptionbuimage boş.

Ayrıca bakınız


TextureBrush(Image, RectangleF)

Yeni bir örneğini başlatırTextureBrush belirtilen görüntüyü ve sınırlayıcı dikdörtgeni kullanan sınıf.

public TextureBrush(Image image, RectangleF dstRect)
ParametreTipTanım
imageImagebuImage bununla nesneTextureBrush nesne içleri doldurur.
dstRectRectangleFARectangleF bunun için sınırlayıcı dikdörtgeni temsil eden yapıTextureBrush nesne.

istisnalar

istisnaşart
ArgumentNullExceptionbuimage boş.

Ayrıca bakınız


TextureBrush(Image, RectangleF, ImageAttributes)

Yeni bir örneğini başlatırTextureBrush belirtilen görüntüyü, sınırlayıcı dikdörtgeni ve görüntü özniteliklerini kullanan sınıf.

public TextureBrush(Image image, RectangleF dstRect, ImageAttributes imageAttr)
ParametreTipTanım
imageImageBu TextureBrush nesnesinin iç mekanları doldurduğu Image nesnesi.
dstRectRectangleFBu TextureBrush nesnesi için sınırlayıcı dikdörtgeni temsil eden bir RectangleF yapısı.
imageAttrImageAttributesBu TextureBrush nesnesi tarafından kullanılan image hakkında ek bilgiler içeren bir ImageAttributes nesnesi.

istisnalar

istisnaşart
ArgumentNullExceptionbuimage boş.

Ayrıca bakınız