commonMain.kotlin.text.Typography.kt Maven / Gradle / Ivy
/*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.text
/**
* Defines names for Unicode symbols used in proper Typography.
*/
public object Typography {
/** The character " – quotation mark */
public const val quote: Char = '\u0022'
/** The character $ – dollar sign */
public const val dollar: Char = '\u0024'
/** The character & – ampersand */
public const val amp: Char = '\u0026'
/** The character < – less-than sign */
public const val less: Char = '\u003C'
/** The character > – greater-than sign */
public const val greater: Char = '\u003E'
/** The non-breaking space character */
public const val nbsp: Char = '\u00A0'
/** The character × */
public const val times: Char = '\u00D7'
/** The character ¢ */
public const val cent: Char = '\u00A2'
/** The character £ */
public const val pound: Char = '\u00A3'
/** The character § */
public const val section: Char = '\u00A7'
/** The character © */
public const val copyright: Char = '\u00A9'
/** The character « */
@SinceKotlin("1.6")
public const val leftGuillemet: Char = '\u00AB'
/** The character » */
@SinceKotlin("1.6")
public const val rightGuillemet: Char = '\u00BB'
/** The character ® */
public const val registered: Char = '\u00AE'
/** The character ° */
public const val degree: Char = '\u00B0'
/** The character ± */
public const val plusMinus: Char = '\u00B1'
/** The character ¶ */
public const val paragraph: Char = '\u00B6'
/** The character · */
public const val middleDot: Char = '\u00B7'
/** The character ½ */
public const val half: Char = '\u00BD'
/** The character – */
public const val ndash: Char = '\u2013'
/** The character — */
public const val mdash: Char = '\u2014'
/** The character ‘ */
public const val leftSingleQuote: Char = '\u2018'
/** The character ’ */
public const val rightSingleQuote: Char = '\u2019'
/** The character ‚ */
public const val lowSingleQuote: Char = '\u201A'
/** The character “ */
public const val leftDoubleQuote: Char = '\u201C'
/** The character ” */
public const val rightDoubleQuote: Char = '\u201D'
/** The character „ */
public const val lowDoubleQuote: Char = '\u201E'
/** The character † */
public const val dagger: Char = '\u2020'
/** The character ‡ */
public const val doubleDagger: Char = '\u2021'
/** The character • */
public const val bullet: Char = '\u2022'
/** The character … */
public const val ellipsis: Char = '\u2026'
/** The character ′ */
public const val prime: Char = '\u2032'
/** The character ″ */
public const val doublePrime: Char = '\u2033'
/** The character € */
public const val euro: Char = '\u20AC'
/** The character ™ */
public const val tm: Char = '\u2122'
/** The character ≈ */
public const val almostEqual: Char = '\u2248'
/** The character ≠ */
public const val notEqual: Char = '\u2260'
/** The character ≤ */
public const val lessOrEqual: Char = '\u2264'
/** The character ≥ */
public const val greaterOrEqual: Char = '\u2265'
/** The character « */
@Deprecated("This constant has a typo in the name. Use leftGuillemet instead.", ReplaceWith("Typography.leftGuillemet"))
@DeprecatedSinceKotlin("1.6")
public const val leftGuillemete: Char = '\u00AB'
/** The character » */
@Deprecated("This constant has a typo in the name. Use rightGuillemet instead.", ReplaceWith("Typography.rightGuillemet"))
@DeprecatedSinceKotlin("1.6")
public const val rightGuillemete: Char = '\u00BB'
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy