Re: Size of Graphics

Discussion in 'Java' started by S. Balk, Jul 22, 2003.

  1. S. Balk

    S. Balk Guest

    > How can I get from java.awt.Graphics object width and height of the area?

    java.awt.Graphics equals to pen as an Image equals to paper. You pen doens't
    have any dimensions, it only has certain area's it can draw and some it
    can't draw. (clip)

    If you want to know the dimensions of the clip-area, then first *set* a clip
     
    S. Balk, Jul 22, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Graham

    size of graphics

    David Graham, Feb 2, 2006, in forum: HTML
    Replies:
    4
    Views:
    463
    David Graham
    Feb 2, 2006
  2. James-Hughes
    Replies:
    1
    Views:
    595
    Thomas Meinike
    Jul 24, 2003
  3. jodleren
    Replies:
    11
    Views:
    589
    Andy Mabbett
    Oct 20, 2007
  4. Jason Cavett

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    12,609
    Michael Jung
    May 25, 2008
  5. Janek Schleicher

    size of graphics files....

    Janek Schleicher, Jul 23, 2003, in forum: Perl Misc
    Replies:
    2
    Views:
    89
    Bart Lateur
    Jul 25, 2003
Loading...

Share This Page