Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Graphics > text > getfont

getfont

フォント選択用のダイアログ.廃止された関数.

呼び出し手順

[fId,fSize]=getfont()
[fId,fSize]=getfont(str)
fnt=getfont()
fnt=getfont(str)
fnt=getfont(S=str,font=[fId,fSize])

パラメータ

str

文字 (e.g. "a")

fId

整数, 選択されたフォントの番号

fSize

整数, 選択されたフォントの大きさ

fnt

ベクトル [fId,fSize]

説明

この関数はxset 関数(この関数も廃止されています)と 共に使用されるよう設計されています. 代わりにプロパティエディタged を使用してください.

getfont はフォントを選択するためのグラフィック ウインドウをオープンします. ユーザはフォントを選択し,表示された文字の大きさをクリックする 必要があります. キーボードのキーを押すと文字を変更します.

[fId,fSize]=getfont();
xset("font",fId,fSize)
plot2d(0,0,rect=[0 0 10 10],axesflag=0)
xstring(5,5,"string")

参照

  • ged — Scilabグラフィックエディタ
  • text_properties — Textエンティティプロパティの説明
Report an issue
<< text text graphics_fonts >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:37:33 CEST 2013