IPackageSpecificsDGetPackageImage(Int32, Int32, Color, Color, Color, Color, Color, RectangleD, Double, MatrixD, Int32, Int32) Method
Get image of package width specific size and colors.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public Bitmap GetPackageImage(
int width,
int height,
Color bkgColor,
Color bodyColor,
Color bodyFillColor,
Color textColor,
Color pinColor,
out RectangleD drawnArea,
double InflateSize,
out MatrixD matrix,
int bodyPenThickness = 2,
int pinPenThickness = 2
)
Public Function GetPackageImage (
width As Integer,
height As Integer,
bkgColor As Color,
bodyColor As Color,
bodyFillColor As Color,
textColor As Color,
pinColor As Color,
<OutAttribute> ByRef drawnArea As RectangleD,
InflateSize As Double,
<OutAttribute> ByRef matrix As MatrixD,
Optional bodyPenThickness As Integer = 2,
Optional pinPenThickness As Integer = 2
) As Bitmap
public:
Bitmap^ GetPackageImage(
int width,
int height,
Color bkgColor,
Color bodyColor,
Color bodyFillColor,
Color textColor,
Color pinColor,
[OutAttribute] RectangleD% drawnArea,
double InflateSize,
[OutAttribute] MatrixD^% matrix,
int bodyPenThickness = 2,
int pinPenThickness = 2
)
member GetPackageImage :
width : int *
height : int *
bkgColor : Color *
bodyColor : Color *
bodyFillColor : Color *
textColor : Color *
pinColor : Color *
drawnArea : RectangleD byref *
InflateSize : float *
matrix : MatrixD byref *
?bodyPenThickness : int *
?pinPenThickness : int
(* Defaults:
let _bodyPenThickness = defaultArg bodyPenThickness 2
let _pinPenThickness = defaultArg pinPenThickness 2
*)
-> Bitmap
- width Int32
- Width of image.
- height Int32
- Height of image.
- bkgColor Color
- Background Color of new image.
- bodyColor Color
- Color of package edge of body.
- bodyFillColor Color
- Color to fill package body.
- textColor Color
- Color of text for packagename and pins.
- pinColor Color
- Color of pins.
- drawnArea RectangleD
- Returns drawn area in world coordinates
- InflateSize Double
- Inflate the visible area around the package.
- matrix MatrixD
- used matrix for drawing (out)
- bodyPenThickness Int32 (Optional)
-
- pinPenThickness Int32 (Optional)
-
BitmapImage of package with current settings.