-
Notifications
You must be signed in to change notification settings - Fork 0
/
GradientDrawable.xml
1951 lines (1951 loc) · 131 KB
/
GradientDrawable.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="GradientDrawable" FullName="Android.Graphics.Drawables.GradientDrawable">
<TypeSignature Language="C#" Value="public class GradientDrawable : Android.Graphics.Drawables.Drawable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit GradientDrawable extends Android.Graphics.Drawables.Drawable" />
<TypeSignature Language="DocId" Value="T:Android.Graphics.Drawables.GradientDrawable" />
<TypeSignature Language="F#" Value="type GradientDrawable = class
 inherit Drawable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Android.Graphics.Drawables.Drawable</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/graphics/drawable/GradientDrawable", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/graphics/drawable/GradientDrawable", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>A Drawable with a color gradient for buttons, backgrounds, etc.</summary>
<remarks>
<para>A Drawable with a color gradient for buttons, backgrounds, etc.</para>
<para>It can be defined in an XML file with the <c>&lt;shape></c> element. For more
information, see the guide to <see href="https://developer.android.com/guide/topics/resources/drawable-resource.html">Drawable Resources</see>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public GradientDrawable ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "()V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "()V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Creates a new themed GradientDrawable based on the specified constant state.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#GradientDrawable(android.graphics.drawable.GradientState,%20android.content.res.Resources)" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.GradientDrawable(android.graphics.drawable.GradientState, android.content.res.Resources)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public GradientDrawable (Android.Graphics.Drawables.GradientDrawable.Orientation? orientation, int[]? colors);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Graphics.Drawables.GradientDrawable/Orientation orientation, int32[] colors) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.#ctor(Android.Graphics.Drawables.GradientDrawable.Orientation,System.Int32[])" />
<MemberSignature Language="F#" Value="new Android.Graphics.Drawables.GradientDrawable : Android.Graphics.Drawables.GradientDrawable.Orientation * int[] -> Android.Graphics.Drawables.GradientDrawable" Usage="new Android.Graphics.Drawables.GradientDrawable (orientation, colors)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="orientation" Type="Android.Graphics.Drawables.GradientDrawable+Orientation" />
<Parameter Name="colors" Type="System.Int32[]" />
</Parameters>
<Docs>
<param name="orientation">To be added.</param>
<param name="colors">To be added.</param>
<summary>Creates a new themed GradientDrawable based on the specified constant state.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#GradientDrawable(android.graphics.drawable.GradientState,%20android.content.res.Resources)" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.GradientDrawable(android.graphics.drawable.GradientState, android.content.res.Resources)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected GradientDrawable (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Graphics.Drawables.GradientDrawable : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.GradientDrawable" Usage="new Android.Graphics.Drawables.GradientDrawable (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Color">
<MemberSignature Language="C#" Value="public virtual Android.Content.Res.ColorStateList? Color { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.Res.ColorStateList Color" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.Color" />
<MemberSignature Language="F#" Value="member this.Color : Android.Content.Res.ColorStateList" Usage="Android.Graphics.Drawables.GradientDrawable.Color" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getColor", "()Landroid/content/res/ColorStateList;", "GetGetColorHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getColor", "()Landroid/content/res/ColorStateList;", "GetGetColorHandler", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Res.ColorStateList</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the color state list used to fill the shape, or <c>null</c> if
the shape is filled with a gradient or has no fill color.</summary>
<value>the color state list used to fill this gradient, or <c>null</c></value>
<remarks>
<para>Returns the color state list used to fill the shape, or <c>null</c> if
the shape is filled with a gradient or has no fill color.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getColor()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getColor()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CornerRadius">
<MemberSignature Language="C#" Value="public virtual float CornerRadius { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 CornerRadius" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.CornerRadius" />
<MemberSignature Language="F#" Value="member this.CornerRadius : single" Usage="Android.Graphics.Drawables.GradientDrawable.CornerRadius" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getCornerRadius", "()F", "GetGetCornerRadiusHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getCornerRadius", "()F", "GetGetCornerRadiusHandler", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the radius for the corners of the gradient, that was previously set with
<c>#setCornerRadius(float)</c>.</summary>
<value>the radius in pixels of the corners of the rectangle shape, or 0</value>
<remarks>
<para>Returns the radius for the corners of the gradient, that was previously set with
<c>#setCornerRadius(float)</c>.</para>
<para>If the radius was previously cleared via passing <c>null</c>
to <c>#setCornerRadii(float[])</c>, this method will return 0.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getCornerRadius()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getCornerRadius()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Draw">
<MemberSignature Language="C#" Value="public override void Draw (Android.Graphics.Canvas? canvas);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Draw(class Android.Graphics.Canvas canvas) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.Draw(Android.Graphics.Canvas)" />
<MemberSignature Language="F#" Value="override this.Draw : Android.Graphics.Canvas -> unit" Usage="gradientDrawable.Draw canvas" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;)V", "GetDraw_Landroid_graphics_Canvas_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;)V", "GetDraw_Landroid_graphics_Canvas_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="canvas" Type="Android.Graphics.Canvas" />
</Parameters>
<Docs>
<param name="canvas">The canvas to draw into
</param>
<summary>Draw in its bounds (set via setBounds) respecting optional effects such
as alpha (set via setAlpha) and color filter (set via setColorFilter).</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="GetColors">
<MemberSignature Language="C#" Value="public virtual int[]? GetColors ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32[] GetColors() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.GetColors" />
<MemberSignature Language="F#" Value="abstract member GetColors : unit -> int[]
override this.GetColors : unit -> int[]" Usage="gradientDrawable.GetColors " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getColors", "()[I", "GetGetColorsHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getColors", "()[I", "GetGetColorsHandler", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the colors used to draw the gradient, or <c>null</c> if the
gradient is drawn using a single color or no colors.</summary>
<returns>the colors used to draw the gradient, or <c>null</c></returns>
<remarks>
<para>Returns the colors used to draw the gradient, or <c>null</c> if the
gradient is drawn using a single color or no colors.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getColors()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getColors()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetCornerRadii">
<MemberSignature Language="C#" Value="public virtual float[]? GetCornerRadii ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance float32[] GetCornerRadii() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.GetCornerRadii" />
<MemberSignature Language="F#" Value="abstract member GetCornerRadii : unit -> single[]
override this.GetCornerRadii : unit -> single[]" Usage="gradientDrawable.GetCornerRadii " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getCornerRadii", "()[F", "GetGetCornerRadiiHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getCornerRadii", "()[F", "GetGetCornerRadiiHandler", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the radii for each of the 4 corners.</summary>
<returns>an array containing the radii for each of the 4 corners, or
<c>null</c></returns>
<remarks>
<para>Returns the radii for each of the 4 corners. For each corner, the array
contains 2 values, <c>[X_radius, Y_radius]</c>. The corners are
ordered top-left, top-right, bottom-right, bottom-left.</para>
<para>If the radius was previously set with <c>#setCornerRadius(float)</c>,
or if the corners are not rounded, this method will return <c>null</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getCornerRadii()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getCornerRadii()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetOrientation">
<MemberSignature Language="C#" Value="public virtual Android.Graphics.Drawables.GradientDrawable.Orientation? GetOrientation ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Graphics.Drawables.GradientDrawable/Orientation GetOrientation() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.GetOrientation" />
<MemberSignature Language="F#" Value="abstract member GetOrientation : unit -> Android.Graphics.Drawables.GradientDrawable.Orientation
override this.GetOrientation : unit -> Android.Graphics.Drawables.GradientDrawable.Orientation" Usage="gradientDrawable.GetOrientation " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getOrientation", "()Landroid/graphics/drawable/GradientDrawable$Orientation;", "GetGetOrientationHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getOrientation", "()Landroid/graphics/drawable/GradientDrawable$Orientation;", "GetGetOrientationHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Drawables.GradientDrawable+Orientation</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the orientation of the gradient defined in this drawable.</summary>
<returns>the orientation of the gradient defined in this drawable</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getOrientation()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getOrientation()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 16" />
</Docs>
</Member>
<Member MemberName="GradientCenterX">
<MemberSignature Language="C#" Value="public virtual float GradientCenterX { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 GradientCenterX" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.GradientCenterX" />
<MemberSignature Language="F#" Value="member this.GradientCenterX : single" Usage="Android.Graphics.Drawables.GradientDrawable.GradientCenterX" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getGradientCenterX", "()F", "GetGetGradientCenterXHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getGradientCenterX", "()F", "GetGetGradientCenterXHandler", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the X-position of the center of the gradient as a fraction of
the width.</summary>
<value>the X-position of the center of the gradient</value>
<remarks>
<para>Returns the X-position of the center of the gradient as a fraction of
the width.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getGradientCenterX()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getGradientCenterX()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GradientCenterY">
<MemberSignature Language="C#" Value="public virtual float GradientCenterY { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 GradientCenterY" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.GradientCenterY" />
<MemberSignature Language="F#" Value="member this.GradientCenterY : single" Usage="Android.Graphics.Drawables.GradientDrawable.GradientCenterY" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getGradientCenterY", "()F", "GetGetGradientCenterYHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getGradientCenterY", "()F", "GetGetGradientCenterYHandler", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the Y-position of the center of this gradient as a fraction of
the height.</summary>
<value>the Y-position of the center of the gradient</value>
<remarks>
<para>Returns the Y-position of the center of this gradient as a fraction of
the height.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getGradientCenterY()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getGradientCenterY()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GradientRadius">
<MemberSignature Language="C#" Value="public virtual float GradientRadius { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 GradientRadius" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.GradientRadius" />
<MemberSignature Language="F#" Value="member this.GradientRadius : single" Usage="Android.Graphics.Drawables.GradientDrawable.GradientRadius" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getGradientRadius", "()F", "GetGetGradientRadiusHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getGradientRadius", "()F", "GetGetGradientRadiusHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the radius of the gradient in pixels.</summary>
<value>the radius of the gradient in pixels</value>
<remarks>
<para>Returns the radius of the gradient in pixels. The radius is valid only
when the gradient type is set to <c>#RADIAL_GRADIENT</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getGradientRadius()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getGradientRadius()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GradientType">
<MemberSignature Language="C#" Value="public virtual Android.Graphics.Drawables.GradientType GradientType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Android.Graphics.Drawables.GradientType GradientType" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.GradientType" />
<MemberSignature Language="F#" Value="member this.GradientType : Android.Graphics.Drawables.GradientType" Usage="Android.Graphics.Drawables.GradientDrawable.GradientType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getGradientType", "()I", "GetGetGradientTypeHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getGradientType", "()I", "GetGetGradientTypeHandler", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Drawables.GradientType</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the type of gradient used by this drawable, one of
<c>#LINEAR_GRADIENT</c>, <c>#RADIAL_GRADIENT</c>, or
<c>#SWEEP_GRADIENT</c>.</summary>
<value>the type of gradient used by this drawable</value>
<remarks>
<para>Returns the type of gradient used by this drawable, one of
<c>#LINEAR_GRADIENT</c>, <c>#RADIAL_GRADIENT</c>, or
<c>#SWEEP_GRADIENT</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getGradientType()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getGradientType()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="InnerRadius">
<MemberSignature Language="C#" Value="public virtual int InnerRadius { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 InnerRadius" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.InnerRadius" />
<MemberSignature Language="F#" Value="member this.InnerRadius : int with get, set" Usage="Android.Graphics.Drawables.GradientDrawable.InnerRadius" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getInnerRadius", "()I", "GetGetInnerRadiusHandler", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getInnerRadius", "()I", "GetGetInnerRadiusHandler", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setInnerRadius", "(I)V", "GetSetInnerRadius_IHandler", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setInnerRadius", "(I)V", "GetSetInnerRadius_IHandler", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Retrn the inner radius of the ring -or- Configure the inner radius of the ring.</summary>
<value>To be added.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Retrn the inner radius of the ring</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getInnerRadius()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getInnerRadius()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Configure the inner radius of the ring.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#setInnerRadius(int)" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.setInnerRadius(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="InnerRadiusRatio">
<MemberSignature Language="C#" Value="public virtual float InnerRadiusRatio { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 InnerRadiusRatio" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.InnerRadiusRatio" />
<MemberSignature Language="F#" Value="member this.InnerRadiusRatio : single with get, set" Usage="Android.Graphics.Drawables.GradientDrawable.InnerRadiusRatio" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getInnerRadiusRatio", "()F", "GetGetInnerRadiusRatioHandler", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getInnerRadiusRatio", "()F", "GetGetInnerRadiusRatioHandler", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setInnerRadiusRatio", "(F)V", "GetSetInnerRadiusRatio_FHandler", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setInnerRadiusRatio", "(F)V", "GetSetInnerRadiusRatio_FHandler", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the inner radius of the ring expressed as a ratio of the ring's width. -or- Inner radius of the ring expressed as a ratio of the ring's width.</summary>
<value>To be added.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Return the inner radius of the ring expressed as a ratio of the ring's width.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#getInnerRadiusRatio()" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.getInnerRadiusRatio()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Inner radius of the ring expressed as a ratio of the ring's width.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#setInnerRadiusRatio(float)" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.setInnerRadiusRatio(float)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Graphics.Drawables.GradientDrawable.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Opacity">
<MemberSignature Language="C#" Value="public override int Opacity { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Opacity" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Drawables.GradientDrawable.Opacity" />
<MemberSignature Language="F#" Value="member this.Opacity : int" Usage="Android.Graphics.Drawables.GradientDrawable.Opacity" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getOpacity", "()I", "GetGetOpacityHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getOpacity", "()I", "GetGetOpacityHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the opacity/transparency of this Drawable.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="SetAlpha">
<MemberSignature Language="C#" Value="public override void SetAlpha (int alpha);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void SetAlpha(int32 alpha) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.SetAlpha(System.Int32)" />
<MemberSignature Language="F#" Value="override this.SetAlpha : int -> unit" Usage="gradientDrawable.SetAlpha alpha" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setAlpha", "(I)V", "GetSetAlpha_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setAlpha", "(I)V", "GetSetAlpha_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="alpha" Type="System.Int32" />
</Parameters>
<Docs>
<param name="alpha">To be added.</param>
<summary tool="true">Specify an alpha value for the drawable. 0 means fully transparent, and
255 means fully opaque.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="SetColor">
<MemberSignature Language="C#" Value="public virtual void SetColor (Android.Content.Res.ColorStateList? colorStateList);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetColor(class Android.Content.Res.ColorStateList colorStateList) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.SetColor(Android.Content.Res.ColorStateList)" />
<MemberSignature Language="F#" Value="abstract member SetColor : Android.Content.Res.ColorStateList -> unit
override this.SetColor : Android.Content.Res.ColorStateList -> unit" Usage="gradientDrawable.SetColor colorStateList" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setColor", "(Landroid/content/res/ColorStateList;)V", "GetSetColor_Landroid_content_res_ColorStateList_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setColor", "(Landroid/content/res/ColorStateList;)V", "GetSetColor_Landroid_content_res_ColorStateList_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="colorStateList" Type="Android.Content.Res.ColorStateList" />
</Parameters>
<Docs>
<param name="colorStateList">The color state list used to fill the shape</param>
<summary>Changes this drawable to use a single color state list instead of a
gradient.</summary>
<remarks>
<para>Changes this drawable to use a single color state list instead of a
gradient. Calling this method with a null argument will clear the color
and is equivalent to calling <c>#setColor(int)</c> with the argument
<c>Color#TRANSPARENT</c>.</para>
<para><strong>Note</strong>: changing color will affect all instances of a
drawable loaded from a resource. It is recommended to invoke
<c>#mutate()</c> before changing the color.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#setColor(android.content.res.ColorStateList)" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.setColor(android.content.res.ColorStateList)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetColor">
<MemberSignature Language="C#" Value="public virtual void SetColor (int argb);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetColor(int32 argb) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.SetColor(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member SetColor : int -> unit
override this.SetColor : int -> unit" Usage="gradientDrawable.SetColor argb" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setColor", "(I)V", "GetSetColor_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setColor", "(I)V", "GetSetColor_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="argb" Type="System.Int32" />
</Parameters>
<Docs>
<param name="argb">The color used to fill the shape</param>
<summary>Changes this drawable to use a single color instead of a gradient.</summary>
<remarks>
<para>Changes this drawable to use a single color instead of a gradient.</para>
<para><strong>Note</strong>: changing color will affect all instances of a
drawable loaded from a resource. It is recommended to invoke
<c>#mutate()</c> before changing the color.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#setColor(int)" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.setColor(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<altmember cref="M:Android.Graphics.Drawables.GradientDrawable.SetColors(System.Int32[])" />
</Docs>
</Member>
<Member MemberName="SetColorFilter">
<MemberSignature Language="C#" Value="public override void SetColorFilter (Android.Graphics.ColorFilter? colorFilter);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void SetColorFilter(class Android.Graphics.ColorFilter colorFilter) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.SetColorFilter(Android.Graphics.ColorFilter)" />
<MemberSignature Language="F#" Value="override this.SetColorFilter : Android.Graphics.ColorFilter -> unit" Usage="gradientDrawable.SetColorFilter colorFilter" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setColorFilter", "(Landroid/graphics/ColorFilter;)V", "GetSetColorFilter_Landroid_graphics_ColorFilter_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setColorFilter", "(Landroid/graphics/ColorFilter;)V", "GetSetColorFilter_Landroid_graphics_ColorFilter_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="colorFilter" Type="Android.Graphics.ColorFilter" />
</Parameters>
<Docs>
<param name="colorFilter">To be added.</param>
<summary>Specify an optional color filter for the drawable.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="SetColors">
<MemberSignature Language="C#" Value="public virtual void SetColors (int[]? colors);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetColors(int32[] colors) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.SetColors(System.Int32[])" />
<MemberSignature Language="F#" Value="abstract member SetColors : int[] -> unit
override this.SetColors : int[] -> unit" Usage="gradientDrawable.SetColors colors" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setColors", "([I)V", "GetSetColors_arrayIHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setColors", "([I)V", "GetSetColors_arrayIHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="colors" Type="System.Int32[]" />
</Parameters>
<Docs>
<param name="colors">an array containing 2 or more ARGB colors</param>
<summary>Sets the colors used to draw the gradient.</summary>
<remarks>
<para>Sets the colors used to draw the gradient.</para>
<para>Each color is specified as an ARGB integer and the array must contain at
least 2 colors.</para>
<para><strong>Note</strong>: changing colors will affect all instances of a
drawable loaded from a resource. It is recommended to invoke
<c>#mutate()</c> before changing the colors.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#setColors(int[])" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.setColors(int[])</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 16" />
<altmember cref="M:Android.Graphics.Drawables.GradientDrawable.SetColor(System.Int32)" />
</Docs>
</Member>
<Member MemberName="SetColors">
<MemberSignature Language="C#" Value="public virtual void SetColors (int[]? colors, float[]? offsets);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetColors(int32[] colors, float32[] offsets) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.SetColors(System.Int32[],System.Single[])" />
<MemberSignature Language="F#" Value="abstract member SetColors : int[] * single[] -> unit
override this.SetColors : int[] * single[] -> unit" Usage="gradientDrawable.SetColors (colors, offsets)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setColors", "([I[F)V", "GetSetColors_arrayIarrayFHandler", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setColors", "([I[F)V", "GetSetColors_arrayIarrayFHandler", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="colors" Type="System.Int32[]" />
<Parameter Name="offsets" Type="System.Single[]" />
</Parameters>
<Docs>
<param name="colors">an array containing 2 or more ARGB colors</param>
<param name="offsets">optional array of floating point parameters representing the positions
of the colors. Null evenly disperses the colors</param>
<summary>Sets the colors and offsets used to draw the gradient.</summary>
<remarks>
<para>Sets the colors and offsets used to draw the gradient.</para>
<para>Each color is specified as an ARGB integer and the array must contain at
least 2 colors.</para>
<para><strong>Note</strong>: changing colors will affect all instances of a
drawable loaded from a resource. It is recommended to invoke
<c>#mutate()</c> before changing the colors.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/drawable/GradientDrawable#setColors(int[],%20float[])" title="Reference documentation">Java documentation for <code>android.graphics.drawable.GradientDrawable.setColors(int[], float[])</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetCornerRadii">
<MemberSignature Language="C#" Value="public virtual void SetCornerRadii (float[]? radii);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetCornerRadii(float32[] radii) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Drawables.GradientDrawable.SetCornerRadii(System.Single[])" />
<MemberSignature Language="F#" Value="abstract member SetCornerRadii : single[] -> unit
override this.SetCornerRadii : single[] -> unit" Usage="gradientDrawable.SetCornerRadii radii" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setCornerRadii", "([F)V", "GetSetCornerRadii_arrayFHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setCornerRadii", "([F)V", "GetSetCornerRadii_arrayFHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>