TextureBrush
TextureBrush(Image)
Yeni bir örneğini başlatırTextureBrush
belirtilen görüntüyü kullanan sınıf.
public TextureBrush(Image bitmap)
Parametre | Tip | Tanım |
---|
bitmap | Image | buImage bununla nesneTextureBrush nesne içleri doldurur. |
istisnalar
istisna | şart |
---|
ArgumentNullException | bubitmap 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)
Parametre | Tip | Tanım |
---|
image | Image | Görüntü. |
wrapMode | WrapMode | AWrapMode bunun nasıl olduğunu belirten numaralandırmaTextureBrush nesne döşenmiştir. |
istisnalar
istisna | şart |
---|
ArgumentNullException | buimage 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)
Parametre | Tip | Tanım |
---|
image | Image | Görüntü. |
wrapMode | WrapMode | AWrapMode bunun nasıl olduğunu belirten numaralandırmaTextureBrush nesne döşenmiştir. |
dstRect | RectangleF | ARectangleF bunun için sınırlayıcı dikdörtgeni temsil eden yapıTextureBrush nesne. |
istisnalar
istisna | şart |
---|
ArgumentNullException | buimage 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)
Parametre | Tip | Tanım |
---|
image | Image | buImage bununla nesneTextureBrush nesne içleri doldurur. |
dstRect | RectangleF | ARectangleF bunun için sınırlayıcı dikdörtgeni temsil eden yapıTextureBrush nesne. |
istisnalar
istisna | şart |
---|
ArgumentNullException | buimage 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)
Parametre | Tip | Tanım |
---|
image | Image | Bu TextureBrush nesnesinin iç mekanları doldurduğu Image nesnesi. |
dstRect | RectangleF | Bu TextureBrush nesnesi için sınırlayıcı dikdörtgeni temsil eden bir RectangleF yapısı. |
imageAttr | ImageAttributes | Bu TextureBrush nesnesi tarafından kullanılan image hakkında ek bilgiler içeren bir ImageAttributes nesnesi. |
istisnalar
istisna | şart |
---|
ArgumentNullException | buimage boş. |
Ayrıca bakınız