Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 java.desktop.jmod - Desktop Module
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module.
JDK 17 Desktop module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.desktop.jmod.
JDK 17 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Desktop module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/awt/font/LineMetrics.java
/* * Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.awt.font; /** * The {@code LineMetrics} class allows access to the * metrics needed to layout characters along a line * and to layout of a set of lines. A {@code LineMetrics} * object encapsulates the measurement information associated * with a run of text. * <p> * Fonts can have different metrics for different ranges of * characters. The {@code getLineMetrics} methods of * {@link java.awt.Font Font} take some text as an argument * and return a {@code LineMetrics} object describing the * metrics of the initial number of characters in that text, as * returned by {@link #getNumChars}. */ public abstract class LineMetrics { /** * Constructor for subclasses to call. */ protected LineMetrics() {} /** * Returns the number of characters ({@code char} values) in the text whose * metrics are encapsulated by this {@code LineMetrics} * object. * @return the number of characters ({@code char} values) in the text with which * this {@code LineMetrics} was created. */ public abstract int getNumChars(); /** * Returns the ascent of the text. The ascent * is the distance from the baseline * to the ascender line. The ascent usually represents the * the height of the capital letters of the text. Some characters * can extend above the ascender line. * @return the ascent of the text. */ public abstract float getAscent(); /** * Returns the descent of the text. The descent * is the distance from the baseline * to the descender line. The descent usually represents * the distance to the bottom of lower case letters like * 'p'. Some characters can extend below the descender * line. * @return the descent of the text. */ public abstract float getDescent(); /** * Returns the leading of the text. The * leading is the recommended * distance from the bottom of the descender line to the * top of the next line. * @return the leading of the text. */ public abstract float getLeading(); /** * Returns the height of the text. The * height is equal to the sum of the ascent, the * descent and the leading. * @return the height of the text. */ public abstract float getHeight(); /** * Returns the baseline index of the text. * The index is one of * {@link java.awt.Font#ROMAN_BASELINE ROMAN_BASELINE}, * {@link java.awt.Font#CENTER_BASELINE CENTER_BASELINE}, * {@link java.awt.Font#HANGING_BASELINE HANGING_BASELINE}. * @return the baseline of the text. */ public abstract int getBaselineIndex(); /** * Returns the baseline offsets of the text, * relative to the baseline of the text. The * offsets are indexed by baseline index. For * example, if the baseline index is * {@code CENTER_BASELINE} then * {@code offsets[HANGING_BASELINE]} is usually * negative, {@code offsets[CENTER_BASELINE]} * is zero, and {@code offsets[ROMAN_BASELINE]} * is usually positive. * @return the baseline offsets of the text. */ public abstract float[] getBaselineOffsets(); /** * Returns the position of the strike-through line * relative to the baseline. * @return the position of the strike-through line. */ public abstract float getStrikethroughOffset(); /** * Returns the thickness of the strike-through line. * @return the thickness of the strike-through line. */ public abstract float getStrikethroughThickness(); /** * Returns the position of the underline relative to * the baseline. * @return the position of the underline. */ public abstract float getUnderlineOffset(); /** * Returns the thickness of the underline. * @return the thickness of the underline. */ public abstract float getUnderlineThickness(); }
⏎ java/awt/font/LineMetrics.java
Or download all of them as a single archive file:
File name: java.desktop-17.0.5-src.zip File size: 9152233 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.instrument.jmod - Instrument Module
2023-09-16, 33738👍, 0💬
Popular Posts:
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...
How to download and install ojdbc6.jar for Oracle 11g R2? ojdbc6.jar for Oracle 11g R2 is a Java 6, ...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
Old version of xml-apis.jar. JAR File Size and Download Location: File name: xmlParserAPIs.jar File ...
JDK 7 tools.jar is the JAR file for JDK 7 tools. It contains Java classes to support different JDK t...