glyphとは? わかりやすく解説

glyph

別表記:グリフ

「glyph」の意味・「glyph」とは

「glyph」とは、文字記号一種である。特に、書体フォントによって形状が変わる文字を指す。例えば、アルファベットの「A」は、書体によって形状異なるが、これら全ては「A」のグリフとされるまた、絵文字ピクトグラム一種グリフとして扱われることがある

「glyph」の発音・読み方

「glyph」の発音は、IPA表記では /ɡlɪf/ となる。IPAカタカナ読みでは「グリフ」となる。日本人発音するカタカナ英語では「グリフ」と読む。この単語発音によって意味や品詞が変わるものではない。

「glyph」の定義を英語で解説

A glyph is a specific form of a character. It is a particular graphical representation, in a particular typeface, of an element of written language, which could be a grapheme, or part of a grapheme, or sometimes several graphemes in combination.

「glyph」の類語

「glyph」の類語としては、「character」、「symbol」、「icon」などがある。これらは全て何らかの情報や意味を表現するための記号文字を指す言葉である。

「glyph」に関連する用語・表現

「glyph」に関連する用語としては、「typeface」、「font」、「typography」などがある。これらは全て文字デザイン配置書体など、文字視覚的に表現するための要素を指す言葉である。

「glyph」の例文

以下に、「glyph」を使用した例文10提示する1. The glyph for the letter "A" varies depending on the typeface.(文字"A"のグリフ書体によって異なる) 2. This font has a unique glyph for the numeral "4".(このフォント独特な"4"のグリフ持っている) 3. The glyph for the ampersand is often very stylized.(アンパサンドグリフはよくスタイリッシュにデザインされる) 4. The glyph for this Chinese character is very complex.(この中国語文字グリフは非常に複雑である) 5. The glyph for the emoji is different on each platform.(絵文字グリフプラットフォームごとに異なる) 6. The glyph for the letter "g" in this typeface is hard to read.(この書体の"g"のグリフ読みにくい) 7. The glyph for the dollar sign is universally recognized.(ドル記号グリフ普遍的に認識されている) 8. The glyph for the copyright symbol is often very small.(著作権記号グリフはよく非常に小さい) 9. The glyph for the letter "Q" in this font is very distinctive.(このフォント"Q"グリフは非常に特徴的である) 10. The glyph for the at sign varies greatly between typefaces.(アットマークグリフ書体によって大きく異なる)

グリフ【glyph】

読み方:ぐりふ

絵文字象形文字


グリフ [glyph]

特定のフォントにおける文字物理表現文字多数のグリフを持つ場合あります。つまり、システムの各フォントにその文字対す異なるグリフが定義されている可能性あります

Glyph クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

Adorner によって管理される単一ユーザー インターフェイス (UI) エンティティ表します

名前空間: System.Windows.Forms.Design.Behavior
アセンブリ: System.Design (system.design.dll 内)
構文構文

解説解説

Glyph描画ヒット テストだけを目的としています。Glyph は、BehaviorService の装飾ウィンドウ コントロール上にレンダリングされるため、ウィンドウ ハンドル (HWND) はありません。それぞれの Glyph が、関連付けられた Behavior を持つことができますヒット テスト結果正常だった Glyph では、新規または異なBehaviorBehaviorService動作スタックプッシュできます

詳細については、「動作サービスの概要」を参照してください

使用例使用例

関連付けられた Behavior使用して独自の Glyph 基本クラス作成する方法次の例に示します。このコード例は、BehaviorService クラストピック取り上げているコード例一部分です。

Class MyGlyph
    Inherits Glyph
    Private control As Control
    Private behaviorSvc As _
        System.Windows.Forms.Design.Behavior.BehaviorService

    Public Sub New(ByVal
 behaviorSvc As _
        System.Windows.Forms.Design.Behavior.BehaviorService, _
        ByVal control As Control)

        MyBase.New(New MyBehavior())
        Me.behaviorSvc = behaviorSvc
        Me.control = control
    End Sub

    Public Overrides ReadOnly
 Property Bounds() As Rectangle
        Get
            ' Create a glyph that is 10x10 and sitting
            ' in the middle of the control.  Glyph coordinates
            ' are in adorner window coordinates, so we must map
            ' using the behavior service.
            Dim edge As Point = behaviorSvc.ControlToAdornerWindow(control)
            Dim size As Size = control.Size
            Dim center As New
 Point(edge.X + size.Width / 2, edge.Y + _
                size.Height / 2)

            Dim bounds1 As New
 Rectangle(center.X - 5, center.Y - 5, 10, 10)

            Return bounds1
        End Get
    End Property

    Public Overrides Function
 GetHitTest(ByVal p As Point) As
 Cursor
        ' GetHitTest is called to see if the point is
        ' within this glyph.  This gives us a chance to decide
        ' what cursor to show.  Returning null from here means
        ' the mouse pointer is not currently inside of the glyph.
        ' Returning a valid cursor here indicates the pointer is
        ' inside the glyph,and also enables our Behavior property
        ' as the active behavior.
        If Bounds.Contains(p) Then
            Return Cursors.Hand
        End If

        Return Nothing

    End Function


    Public Overrides Sub
 Paint(ByVal pe As PaintEventArgs)
        ' Draw our glyph.  It is simply a blue ellipse.
        pe.Graphics.FillEllipse(Brushes.Blue, Bounds)

    End Sub

    ' By providing our own behavior we can do something interesting
    ' when the user clicks or manipulates our glyph.

    Class MyBehavior
        Inherits System.Windows.Forms.Design.Behavior.Behavior

        Public Overrides Function
 OnMouseUp(ByVal g As Glyph, _
            ByVal button As MouseButtons) As
 Boolean
            MessageBox.Show("Hey, you clicked the mouse here")
            Return True
            ' indicating we processed this event.
        End Function 'OnMouseUp
    End Class

End Class
class MyGlyph : Glyph
{
    Control control;
    BehaviorService behaviorSvc;

    public MyGlyph(BehaviorService behaviorSvc, Control control)
 : 
        base(new MyBehavior())
    {
        this.behaviorSvc = behaviorSvc;
        this.control = control;
    }

    public override Rectangle Bounds
    {
        get
        {
            // Create a glyph that is 10x10 and sitting
            // in the middle of the control.  Glyph coordinates
            // are in adorner window coordinates, so we must map
            // using the behavior service.
            Point edge = behaviorSvc.ControlToAdornerWindow(control);
            Size size = control.Size;
            Point center = new Point(edge.X + (size.Width / 2),
 
                edge.Y + (size.Height / 2));

            Rectangle bounds = new Rectangle(
                center.X - 5,
                center.Y - 5,
                10,
                10);

            return bounds;
        }
    }

    public override Cursor GetHitTest(Point p)
    {
        // GetHitTest is called to see if the point is
        // within this glyph.  This gives us a chance to decide
        // what cursor to show.  Returning null from here means
        // the mouse pointer is not currently inside of the glyph.
        // Returning a valid cursor here indicates the pointer is
        // inside the glyph, and also enables our Behavior property
        // as the active behavior.
        if (Bounds.Contains(p))
        {
            return Cursors.Hand;
        }

        return null;
    }

    public override void Paint(PaintEventArgs
 pe)
    {
        // Draw our glyph. It is simply a blue ellipse.
        pe.Graphics.FillEllipse(Brushes.Blue, Bounds);
    }

    // By providing our own behavior we can do something interesting
    // when the user clicks or manipulates our glyph.
    class MyBehavior : Behavior
    {
        public override bool OnMouseUp(Glyph
 g, MouseButtons button)
        {
            MessageBox.Show("Hey, you clicked the mouse here");
            return true; // indicating
 we processed this event.
        }
    }
}
継承階層継承階層
System.Object
  System.Windows.Forms.Design.Behavior.Glyph
     System.Windows.Forms.Design.Behavior.ComponentGlyph
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

Glyph コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

Glyph クラス新しインスタンス初期化します。

名前空間: System.Windows.Forms.Design.Behavior
アセンブリ: System.Design (system.design.dll 内)
構文構文

使用例使用例

Glyph クラス新しインスタンス初期化する方法次の例に示します。このコード例は、BehaviorService クラストピック取り上げているコード例一部分です。

myAdorner = New Adorner()
BehaviorService.Adorners.Add(myAdorner)
myAdorner.Glyphs.Add(New MyGlyph(BehaviorService, Control))
myAdorner = new Adorner();
BehaviorService.Adorners.Add(myAdorner);
myAdorner.Glyphs.Add(new MyGlyph(BehaviorService, Control));
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

Glyph プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ Behavior Glyph に関連付けられている Behavior取得します
パブリック プロパティ Bounds Glyph範囲取得します
参照参照

関連項目

Glyph クラス
System.Windows.Forms.Design.Behavior 名前空間
Behavior クラス
Adorner クラス
BehaviorService クラス

その他の技術情報

方法 : デザイン モードコントロール外観動作拡張する
動作サービスの概要

Glyph メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Glyph クラス
System.Windows.Forms.Design.Behavior 名前空間
Behavior クラス
Adorner クラス
BehaviorService クラス

その他の技術情報

方法 : デザイン モードコントロール外観動作拡張する
動作サービスの概要

Glyph メンバ

Adorner によって管理される単一ユーザー インターフェイス (UI) エンティティ表します

Glyph データ型公開されるメンバを以下の表に示します


プロテクト コンストラクタプロテクト コンストラクタ
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ Behavior Glyph に関連付けられている Behavior取得します
パブリック プロパティ Bounds Glyph範囲取得します
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Glyph クラス
System.Windows.Forms.Design.Behavior 名前空間
Behavior クラス
Adorner クラス
BehaviorService クラス

その他の技術情報

方法 : デザイン モードコントロール外観動作拡張する
動作サービスの概要

字体

(glyph から転送)

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2023/12/24 10:25 UTC 版)

字体(じたい)とは、図形を一定の文字体系の一字と視覚的に認識する概念、即ち文字の骨格となる「抽象的な」概念のことである。


  1. ^ 中華民國教育部 編、『標準字與簡化字對照手冊』、2011年、台北、中華民國教育部 [1]
  2. ^ 国務院弁公庁秘書局、『通用規範漢字表』、2013年6月18日、北京、国務院弁公庁秘書局
  3. ^ 「秋」と「秌」はどちらも「あき」と読む。このように漢字の偏と旁(つくり)が入れ替わっても同じ読み方を...”. レファレンス協同データベース. 2020年7月26日閲覧。
  4. ^ IVSについて”. 株式会社モリサワ. 2014年10月20日閲覧。


「字体」の続きの解説一覧


英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「glyph」の関連用語

glyphのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



glyphのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
実用日本語表現辞典実用日本語表現辞典
Copyright © 2024実用日本語表現辞典 All Rights Reserved.
デジタル大辞泉デジタル大辞泉
(C)Shogakukan Inc.
株式会社 小学館
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.
ウィキペディアウィキペディア
All text is available under the terms of the GNU Free Documentation License.
この記事は、ウィキペディアの字体 (改訂履歴)の記事を複製、再配布したものにあたり、GNU Free Documentation Licenseというライセンスの下で提供されています。 Weblio辞書に掲載されているウィキペディアの記事も、全てGNU Free Documentation Licenseの元に提供されております。

©2024 GRAS Group, Inc.RSS