Wie füge ich einen Strich zu Text in Flex 4 hinzu? Insbesondere möchte ich es zu einem Label hinzufügen (der Text wird darin geändert).Wie fügen Sie dem Text einen Strich hinzu?
aktualisieren
Die vorgeschlagene nächste Lösung wurde ein Schlagschatten-Filter hinzufügen, wie unten gezeigt. Ich habe ein Rechteck mit einem Strich zum Vergleich hinzugefügt. Wenn das Strichgewicht zwischen 2 und 3 liegt, ist es akzeptabel. Wenn es darüber oder darunter ist, dann ist es zu verschwommen oder rauh. In meinem Fall muss ich 2 bis 6 Gewicht tragen.
Eine Folgefrage wäre, ist es möglich, einen Hub-Filter durch Pixel Bender zu erstellen.
<s:VGroup>
<s:Label text="Select an example on the left. Right-click to view source."
color="#FF8C00"
top="10" left="10"
fontSize="25">
<s:filters>
<s:DropShadowFilter blurX="2" blurY="2" distance="0" quality="1" strength="10" color="#000000"/>
</s:filters>
</s:Label>
<s:Rect width="100%" radiusX="8" radiusY="8"
height="18">
<s:fill>
<s:SolidColor color="#FF8C00"/>
</s:fill>
<s:stroke>
<s:SolidColorStroke weight="1" />
</s:stroke>
</s:Rect>
<s:Label text="Select an example on the left. Right-click to view source."
color="#FF8C00"
top="10" left="10"
fontSize="25">
<s:filters>
<s:DropShadowFilter blurX="4" blurY="4" distance="0" quality="1" strength="10" color="#000000"/>
</s:filters>
</s:Label>
<s:Rect width="100%" radiusX="8" radiusY="8"
height="18">
<s:fill>
<s:SolidColor color="#FF8C00"/>
</s:fill>
<s:stroke>
<s:SolidColorStroke weight="2" />
</s:stroke>
</s:Rect>
<s:Label text="Select an example on the left. Right-click to view source."
color="#FF8C00"
top="10" left="10"
fontSize="25">
<s:filters>
<s:DropShadowFilter blurX="6" blurY="6" distance="0" quality="1" strength="10" color="#000000"/>
</s:filters>
</s:Label>
<s:Rect width="100%" radiusX="8" radiusY="8"
height="18">
<s:fill>
<s:SolidColor color="#FF8C00"/>
</s:fill>
<s:stroke>
<s:SolidColorStroke weight="3" />
</s:stroke>
</s:Rect>
<s:Label text="Select an example on the left. Right-click to view source."
color="#FF8C00"
top="10" left="10"
fontSize="25">
<s:filters>
<s:DropShadowFilter blurX="8" blurY="8" distance="0" quality="1" strength="10" color="#000000"/>
</s:filters>
</s:Label>
<s:Rect width="100%" radiusX="8" radiusY="8"
height="18">
<s:fill>
<s:SolidColor color="#FF8C00"/>
</s:fill>
<s:stroke>
<s:SolidColorStroke weight="4" />
</s:stroke>
</s:Rect>
</s:VGroup>
Innerhalb des Flash-Animationstools müssten Sie den Text in Konturen umwandeln und dann einen Strich anwenden, aber natürlich können Sie dann den Text im Code nicht ändern. – jhocking