INSIGHTS & INSPIRATION
PRODUCT LEARNING & SUPPORT
INSIGHTS & INSPIRATION
PRODUCT LEARNING & SUPPORT
Introducing ProtoPie
Triggers & Responses
Auto Layout
Interaction Libraries
Connecting Devices
ProtoPie Enterprise
Menu
Introducing ProtoPie
Triggers & Responses
Auto Layout
Interaction Libraries
Connecting Devices
ProtoPie Enterprise
レイヤーのプロパティ
数式を使用する際は、位置、高さ、幅、不透明度をはじめとする、さまざまなレイヤーのプロパティを利用できます。
レイヤーのプロパティを使用する
レイヤーを参照するには、レイヤー名をバッククォート(`)で囲みます。
レイヤーのプロパティを参照するには、2 つ目のバッククォートの後にピリオド(.)を追加し、その後にプロパティを指定します。
`layerName`
.x
レイヤーのx座標。
`layerName`
.width
レイヤーの幅。
`layerName`
.height
レイヤーの高さ。
`layerName`
.scaleX
レイヤーのスケール係数X。
`layerName`
.scaleY
レイヤーのY方向のスケール係数。
`layerName`
.rotation
レイヤーの回転。
`layerName`
.rotation3d
レイヤーの3D回転。
`layerName`
.opacity
レイヤーの不透明度。
`layerName`
.radius
レイヤーの半径。
`containerName`
.scrollOffset
スクロールまたはページングコンテナの現在のスクロール値。
`layerName`
.fillColor
レイヤーの色(16進数)
`layerName`
.fillOpacity
レイヤーの塗りつぶし色。
`layerName`
.borderWidth
レイヤーの境界線の幅。
`layerName`
.borderColor
レイヤーの境界線の色(16進数)。
`layerName`
.borderOpacity
レイヤーの境界線の不透明度。
`layerName`
.shadowOffsetX
レイヤーの影のx座標。
`layerName`
.shadowOffsetY
レイヤーの影のy座標。
`layerName`
.shadowBlur
レイヤーのシャドウのぼかし。
`layerName`
.shadowColor
レイヤーのシャドウの色(16進数)。
`layerName`
.shadowOpacity
レイヤーのシャドウの不透明度。
`layerName`
.text
テキストレイヤーまたは入力レイヤー内のテキスト。
`layerName`
.textColor
テキストまたは入力レイヤーの色。
`layerName`
.textOpacity
テキストレイヤーまたは入力レイヤーの不透明度。
`layerName`
.currentTime
ビデオ、オーディオ、またはLottieレイヤーの現在の再生時間です。
`layerName`
.totalTime
ビデオ、オーディオ、またはLottieレイヤーの総再生時間。
`layerName`
.x
レイヤーのx座標。
`layerName`
.width
レイヤーの幅。
`layerName`
.height
レイヤーの高さ。
`layerName`
.scaleX
レイヤーのスケール係数X。
`layerName`
.scaleY
レイヤーのY方向のスケール係数。
`layerName`
.rotation
レイヤーの回転。
`layerName`
.rotation3d
レイヤーの3D回転。
`layerName`
.opacity
レイヤーの不透明度。
`layerName`
.radius
レイヤーの半径。
`containerName`
.scrollOffset
スクロールまたはページングコンテナの現在のスクロール値。
`layerName`
.fillColor
レイヤーの色(16進数)
`layerName`
.fillOpacity
レイヤーの塗りつぶし色。
`layerName`
.borderWidth
レイヤーの境界線の幅。
`layerName`
.borderColor
レイヤーの境界線の色(16進数)。
`layerName`
.borderOpacity
レイヤーの境界線の不透明度。
`layerName`
.shadowOffsetX
レイヤーの影のx座標。
`layerName`
.shadowOffsetY
レイヤーの影のy座標。
`layerName`
.shadowBlur
レイヤーのシャドウのぼかし。
`layerName`
.shadowColor
レイヤーのシャドウの色(16進数)。
`layerName`
.shadowOpacity
レイヤーのシャドウの不透明度。
`layerName`
.text
テキストレイヤーまたは入力レイヤー内のテキスト。
`layerName`
.textColor
テキストまたは入力レイヤーの色。
`layerName`
.textOpacity
テキストレイヤーまたは入力レイヤーの不透明度。
`layerName`
.currentTime
ビデオ、オーディオ、またはLottieレイヤーの現在の再生時間です。
`layerName`
.totalTime
ビデオ、オーディオ、またはLottieレイヤーの総再生時間。