Bar meter バーメーター

Meter=Bar displays a horizontal or vertical bar that fills according to the percentual value of a measure.Meter=Bar 数値データのパーセント値に従って塗りつぶされる水平または垂直のバーを表示します。

Optionsオプション

General meter options一般メーターオプション

All general meter options are valid.一般的なメーターオプションはすべて有効です。

General image options一般的な画像オプション

All general image options are valid for BarImage.すべての一般的な画像オプションはに有効ですBarImage

MeasureName

Name of the measure to use. The measure used must be able to return percentual values.使用するメジャーの名前 使用される数値データはパーセント値を返すことができなければなりません。

BarColor Default: 0,128,0BarColor デフォルト: 0,128,0

Color of the bar.バーの

BarImage

Path to an image to use for the bar instead of BarColor.代わりにバーに使用する画像へのパスBarColor

The image is "revealed" to the percentage defined by the current value of the MeasureName bound to the meter.画像は、メーターにバインドされているMeasureNameの現在の値によって定義されているパーセンテージに「表示」されます。

Note: The image size cannot be modified with the W or H general meter options, and will be displayed in the original image size. The bar will be constrained to the size of the image.注意:画像サイズは、WまたはH一般メーターオプションでは変更できず、元の画像サイズで表示されます。バーは画像のサイズに制限されます。

BarBorder

If BarImage is specified, defines the number of pixels on either side of the image that are always drawn (i.e. top and bottom margins for vertical bars, left and right margins for horizontal bars).BarImageが指定されている場合、常に描画されるイメージの両側のピクセル数を定義します(つまり、縦線の場合は上下の余白、横線の場合は左右の余白)。

BarOrientation Default: VerticalBarOrientation デフォルト: Vertical

Orientation of the bar. Valid values are Horizontal and Vertical.バーの向き 有効な値はHorizontaland Verticalです。

Flip Default: 0Flip デフォルト: 0

If set to 1, the direction of the bar is flipped.に設定する1と、バーの方向が反転します。

Example

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1

[Metadata]
Name=ExampleMeterBar
Author=The Rainmeter Team
Information=Example of the Bar meter
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0

[MeasureUsedMemory]
Measure=PhysicalMemory

[MeasureUsedDrive]
Measure=FreeDiskSpace
Drive=C:

[MeterMemoryText]
Meter=String
MeasureName=MeasureUsedMemory
FontSize=11
FontColor=255,255,255,255
AutoScale=1
AntiAlias=1
Text=Used RAM: %1

[MeterUsedMemoryBar]
MeasureName=MeasureUsedMemory
Meter=BAR
Y=3R
W=250
H=30
BarColor=185,250,160,255
SolidColor=150,150,150,255
BarOrientation=Horizontal

[MeterDriveText]
Meter=String
MeasureName=MeasureUsedDrive
Y=10R
FontSize=11
FontColor=255,255,255,255
AutoScale=1
AntiAlias=1
Text=Free Drive C: %1

[MeterUsedDriveBar]
MeasureName=MeasureUsedDrive
Meter=Bar
Y=3R
W=250
H=30
BarColor=185,250,160,255
SolidColor=150,150,150,255
BarOrientation=Horizontal

An example skin demonstrating a Bar meter.バーメーターを示すサンプルスキン。

関連記事

スポンサーリンク

fieldset要素の上パディングがボーダー領域の外側に設置される

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る