draw / rectangle / bounds
-
When drawing an item and setting its bounds, is there a way to use fractions? For instance if I want to start at X=1.4 and Y=2.5 and have Width = 10.5 Height = 11.5.
-
When drawing an item and setting its bounds, is there a way to use fractions? For instance if I want to start at X=1.4 and Y=2.5 and have Width = 10.5 Height = 11.5.
Too lazy to look it up he? :(
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Prolific encyclopedia fixture proof-reader browser patron addict?
We all depend on the beast below.
-
Too lazy to look it up he? :(
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Prolific encyclopedia fixture proof-reader browser patron addict?
We all depend on the beast below.
You remind me of the robot from Moon. You always have some sort of emoticon at the end of your posts. :)
-
When drawing an item and setting its bounds, is there a way to use fractions? For instance if I want to start at X=1.4 and Y=2.5 and have Width = 10.5 Height = 11.5.
You;re looking for
RectangleF
, then you can usefloats
eg.X = 1.4f
Dave
If this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier. (Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)