@@ -179,7 +179,7 @@ app:shadow_array="{10,0,4,10,#c8c8c8}, {10,0,4,10,#000000}"
179179 app : stroke_type =" INSIDE"
180180 app : stroke_blur =" 10dp"
181181 app : stroke_blur_type =" INNER"
182- app : stroke_alpha =" 100 " >
182+ app : stroke_alpha =" 255 " >
183183
184184 <androidx .appcompat.widget.AppCompatTextView
185185 android : layout_width =" wrap_content"
@@ -193,14 +193,14 @@ app:shadow_array="{10,0,4,10,#c8c8c8}, {10,0,4,10,#000000}"
193193
194194## Attributes
195195
196- | Attribute | Description |
197- | ------------------------| --------------------------------------------------------------------------------------------------------------|
198- | ` app:stroke_color ` | The color of the stroke. Supports any valid color value, such as HEX codes. Example: ` #c8c8c8 ` . |
199- | ` app:stroke_width ` | The width of the stroke in density-independent pixels (dp). Example: ` 4dp ` . |
196+ | Attribute | Description |
197+ | ------------------------| ----------------------------------------------------------------------------------------------------------------------------- |
198+ | ` app:stroke_color ` | The color of the stroke. Supports any valid color value, such as HEX codes. Example: ` #c8c8c8 ` . |
199+ | ` app:stroke_width ` | The width of the stroke in density-independent pixels (dp). Example: ` 4dp ` . |
200200| ` app:stroke_type ` | Defines where the stroke is drawn relative to the view boundary. Options: ` INSIDE ` , ` CENTER ` , ` OUTSIDE ` . Default: ` CENTER ` . |
201- | ` app:stroke_blur ` | The blur radius applied to the stroke. Example: ` 10dp ` . |
202- | ` app:stroke_blur_type ` | Type of blur applied to the stroke. Options: ` INNER ` , ` OUTER ` , ` SOLID ` . Default: ` INNER ` . |
203- | ` app:stroke_alpha ` | The transparency level of the stroke, ranging from ` 0 ` (completely transparent) to ` 100 ` (fully opaque). Default: ` 100 ` . |
201+ | ` app:stroke_blur ` | The blur radius applied to the stroke. Example: ` 10dp ` . |
202+ | ` app:stroke_blur_type ` | Type of blur applied to the stroke. Options: ` INNER ` , ` OUTER ` , ` SOLID ` . Default: ` INNER ` . |
203+ | ` app:stroke_alpha ` | The transparency level of the stroke, ranging from ` 0 ` (completely transparent) to ` 255 ` (fully opaque). Default: ` 255 ` . |
204204
205205### Stroke Type
206206- ** INSIDE** : The stroke is drawn inside the view boundary, reducing the available space for the content.
@@ -230,7 +230,7 @@ app:shadow_array="{10,0,4,10,#c8c8c8}, {10,0,4,10,#000000}"
230230 Defines the type of blur effect for the stroke.
231231
232232- ** ` updateStrokeAlpha(alpha: Int) ` **
233- Sets the transparency level of the stroke. Accepts a value between ` 0 ` (fully transparent) and ` 100 ` (fully opaque).
233+ Sets the transparency level of the stroke. Accepts a value between ` 0 ` (fully transparent) and ` 255 ` (fully opaque).
234234
235235---
236236
0 commit comments