Example usage for java.awt Font getItalicAngle

List of usage examples for java.awt Font getItalicAngle

Introduction

In this page you can find the example usage for java.awt Font getItalicAngle.

Prototype

public float getItalicAngle() 

Source Link

Document

Returns the italic angle of this Font .

Usage

From source file:Main.java

public void paint(Graphics g) {
    Font f = g.getFont();

    System.out.println(f.getItalicAngle());

    g.drawString("java2s.com", 4, 16);
}