[]
Creates a picture.
public Picture()
Public Sub New()
Creates a picture with the specified image.
public Picture(Image i)
Public Sub New(i As Image)
Type | Name | Description |
---|---|---|
Image | i | Image |
Creates a picture with the specified image and style.
public Picture(Image i, RenderStyle style)
Public Sub New(i As Image, style As RenderStyle)
Type | Name | Description |
---|---|---|
Image | i | Image |
RenderStyle | style | Style |
Creates a picture with the specified image and transparency color.
public Picture(Image i, Color transparencyColor)
Public Sub New(i As Image, transparencyColor As Color)
Type | Name | Description |
---|---|---|
Image | i | Image |
Color | transparencyColor | Which color is transparent |
Creates a picture with the specified image, style, and transparency color.
public Picture(Image i, RenderStyle style, Color transparencyColor)
Public Sub New(i As Image, style As RenderStyle, transparencyColor As Color)
Type | Name | Description |
---|---|---|
Image | i | Image |
RenderStyle | style | Style |
Color | transparencyColor | Which color is transparent |
Creates a picture with the specified image, style, transparency color, and alignment.
public Picture(Image i, RenderStyle style, Color transparencyColor, HorizontalAlignment alignHorz, VerticalAlignment alignVert)
Public Sub New(i As Image, style As RenderStyle, transparencyColor As Color, alignHorz As HorizontalAlignment, alignVert As VerticalAlignment)
Type | Name | Description |
---|---|---|
Image | i | Image |
RenderStyle | style | Stle |
Color | transparencyColor | Which color is transparent |
HorizontalAlignment | alignHorz | Horizontal alignment of image |
VerticalAlignment | alignVert | Vertical alignment of image |
Creates a picture with the specified image, style, transparency color, and transparency tolerance.
public Picture(Image i, RenderStyle style, Color transparencyColor, int transparencyTolerance)
Public Sub New(i As Image, style As RenderStyle, transparencyColor As Color, transparencyTolerance As Integer)
Type | Name | Description |
---|---|---|
Image | i | Image |
RenderStyle | style | Picture style |
Color | transparencyColor | Which color is transparent |
int | transparencyTolerance | Amount of tolerance of transparency from the color value |
Creates a picture with the specified image, style, transparency color (with tolerance), and alignments of contents.
public Picture(Image i, RenderStyle style, Color transparencyColor, int transparencyTolerance, HorizontalAlignment alignHorz, VerticalAlignment alignVert)
Public Sub New(i As Image, style As RenderStyle, transparencyColor As Color, transparencyTolerance As Integer, alignHorz As HorizontalAlignment, alignVert As VerticalAlignment)
Type | Name | Description |
---|---|---|
Image | i | Image |
RenderStyle | style | Picture style |
Color | transparencyColor | Which color is transparent |
int | transparencyTolerance | Amount of tolerance of transparency from the color value |
HorizontalAlignment | alignHorz | Horizontal alignment of image |
VerticalAlignment | alignVert | Vertical alignment of image |
Creates a picture by copying another.
public Picture(object cloneFrom)
Public Sub New(cloneFrom As Object)
Type | Name | Description |
---|---|---|
object | cloneFrom | Object from which to copy or clone this picture |