What I need is a dll created in VB.net 2005. The name of the dll needs to be called DiceImages. The class will be called DiceImages as well. What the dll will do is draw dice. Enclosed is an example of dice images I have currently. The dll needs to do it from code (not using the images included at all). The following methods/properties are needed:
Properties:
1. FillColor default is white
2. DotColor default is black
3. Size as Integer default is 33
4. Point default is 0, 0
The size is used to determine the size. Use the built in structure for Size. The same thing for Point
5. Graphics this is the graphics that needs to be sent in so it would use it to draw
6. Value
the values must be between 1 and 6
See below on more info:
## Deliverables
The default size of the dice will be 33 by 33 pixels.
If the size is smaller, then the size of the dots will be smaller
However, if the size is larger, then the size of the dots will be larger as well. Will need to calculate based on the size. So the quality will be about the same no matter the size (of course the dots will be larger if the size is larger).
method:
1. DrawDice
This will draw the dice.
The size would determine the size of the dice
The Point is the position it will be placed
The value is how many dots will be shown.
The fill color of the dots will be the dotcolor
The fill color of the dice will be the FillColor
The dice included also shows approximately where to position the dots. For example, if the value is 1, then it will be completely centered (in the middle horizontally and vertically)
will have black borders around the dice. The borderwidth will be 1.
Must use GDI built into .net for the project. Cannot use any controls for this.
Must have at least as high quality as the images in the attachment. The purpose of the project is to be able to produce dice of any dot color and and fillcolor as well without having to produce seperate images for the colors needed).
The source code and the compiled dll for the dice.
## Platform
Windows XP (all editions).