-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bitmap.xml
3472 lines (3465 loc) · 227 KB
/
Bitmap.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="Bitmap" FullName="Android.Graphics.Bitmap">
<TypeSignature Language="C#" Value="public sealed class Bitmap : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit Bitmap extends Java.Lang.Object implements class Android.OS.IParcelable, class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Graphics.Bitmap" />
<TypeSignature Language="F#" Value="type Bitmap = class
 inherit Object
 interface IParcelable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Android.OS.IParcelable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/graphics/Bitmap", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/graphics/Bitmap", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>To be added.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap" title="Reference documentation">Android platform documentation</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>
<Members>
<Member MemberName="AllocationByteCount">
<MemberSignature Language="C#" Value="public int AllocationByteCount { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 AllocationByteCount" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Bitmap.AllocationByteCount" />
<MemberSignature Language="F#" Value="member this.AllocationByteCount : int" Usage="Android.Graphics.Bitmap.AllocationByteCount" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAllocationByteCount", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAllocationByteCount", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the size of the allocated memory used to store this bitmap's pixels.</summary>
<value>To be added.</value>
<remarks>
<para>Returns the size of the allocated memory used to store this bitmap's pixels.</para>
<para>This can be larger than the result of <c>#getByteCount()</c> if a bitmap is reused to
decode other bitmaps of smaller size, or by manual reconfiguration. See <c>#reconfigure(int, int, Config)</c>, <c>#setWidth(int)</c>, <c>#setHeight(int)</c>, <c>#setConfig(Bitmap.Config)</c>, and <c>BitmapFactory.Options#inBitmap
BitmapFactory.Options.inBitmap</c>. If a bitmap is not modified in this way, this value will be
the same as that returned by <c>#getByteCount()</c>.</para>
<para>This value will not change over the lifetime of a Bitmap.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#getAllocationByteCount()" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.getAllocationByteCount()</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>
<altmember cref="M:Android.Graphics.Bitmap.Reconfigure(System.Int32, System.Int32, System.Int32)" />
</Docs>
<since version="Added in API level 19" />
</Member>
<Member MemberName="AsShared">
<MemberSignature Language="C#" Value="public Android.Graphics.Bitmap AsShared ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Graphics.Bitmap AsShared() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.AsShared" />
<MemberSignature Language="F#" Value="member this.AsShared : unit -> Android.Graphics.Bitmap" Usage="bitmap.AsShared " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("asShared", "()Landroid/graphics/Bitmap;", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("asShared", "()Landroid/graphics/Bitmap;", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Return an immutable bitmap backed by shared memory which can be
efficiently passed between processes via Parcelable.</summary>
<returns>To be added.</returns>
<remarks>
<para>Return an immutable bitmap backed by shared memory which can be
efficiently passed between processes via Parcelable.</para>
<para>If this bitmap already meets these criteria it will return itself.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#asShared()" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.asShared()</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="ByteCount">
<MemberSignature Language="C#" Value="public int ByteCount { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 ByteCount" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Bitmap.ByteCount" />
<MemberSignature Language="F#" Value="member this.ByteCount : int" Usage="Android.Graphics.Bitmap.ByteCount" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getByteCount", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getByteCount", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the minimum number of bytes that can be used to store this bitmap's pixels.</summary>
<value>To be added.</value>
<remarks>
<para>Returns the minimum number of bytes that can be used to store this bitmap's pixels.</para>
<para>As of <c>android.os.Build.VERSION_CODES#KITKAT</c>, the result of this method can
no longer be used to determine memory usage of a bitmap. See <c>#getAllocationByteCount()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#getByteCount()" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.getByteCount()</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 12" />
</Docs>
</Member>
<Member MemberName="ColorSpace">
<MemberSignature Language="C#" Value="public Android.Graphics.ColorSpace? ColorSpace { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Graphics.ColorSpace ColorSpace" />
<MemberSignature Language="DocId" Value="P:Android.Graphics.Bitmap.ColorSpace" />
<MemberSignature Language="F#" Value="member this.ColorSpace : Android.Graphics.ColorSpace with get, set" Usage="Android.Graphics.Bitmap.ColorSpace" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getColorSpace", "()Landroid/graphics/ColorSpace;", "", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getColorSpace", "()Landroid/graphics/ColorSpace;", "", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setColorSpace", "(Landroid/graphics/ColorSpace;)V", "", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setColorSpace", "(Landroid/graphics/ColorSpace;)V", "", 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>Android.Graphics.ColorSpace</ReturnType>
</ReturnValue>
<Docs>
<param name="colorSpace">to assign to the bitmap</param>
<summary>Returns the color space associated with this bitmap. -or- Modifies the bitmap to have the specified <c>ColorSpace</c>, without
affecting the underlying allocation backing the bitmap.</summary>
<value>To be added.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns the color space associated with this bitmap. If the color
space is unknown, this method returns null.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#getColorSpace()" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.getColorSpace()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Modifies the bitmap to have the specified <c>ColorSpace</c>, without
affecting the underlying allocation backing the bitmap.</para>
<para>This affects how the framework will interpret the color at each pixel. A bitmap
with <c>Config#ALPHA_8</c> never has a color space, since a color space does not
affect the alpha channel. Other <c>Config</c>s must always have a non-null
<c>ColorSpace</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#setColorSpace(android.graphics.ColorSpace)" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.setColorSpace(android.graphics.ColorSpace)</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="Compress">
<MemberSignature Language="C#" Value="public bool Compress (Android.Graphics.Bitmap.CompressFormat format, int quality, System.IO.Stream stream);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Compress(class Android.Graphics.Bitmap/CompressFormat format, int32 quality, class System.IO.Stream stream) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.Compress(Android.Graphics.Bitmap.CompressFormat,System.Int32,System.IO.Stream)" />
<MemberSignature Language="F#" Value="member this.Compress : Android.Graphics.Bitmap.CompressFormat * int * System.IO.Stream -> bool" Usage="bitmap.Compress (format, quality, stream)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("compress", "(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("compress", "(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="format" Type="Android.Graphics.Bitmap+CompressFormat" />
<Parameter Name="quality" Type="System.Int32" />
<Parameter Name="stream" Type="System.IO.Stream" />
</Parameters>
<Docs>
<param name="format">The format of the compressed image</param>
<param name="quality">Hint to the compressor, 0-100. The value is interpreted
differently depending on the <c>CompressFormat</c>.</param>
<param name="stream">The outputstream to write the compressed data.</param>
<summary>Write a compressed version of the bitmap to the specified outputstream.</summary>
<returns>true if successfully compressed to the specified stream.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#compress(android.graphics.CompressFormat,%20int,%20java.io.OutputStream)" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.compress(android.graphics.CompressFormat, int, java.io.OutputStream)</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="CompressAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<bool> CompressAsync (Android.Graphics.Bitmap.CompressFormat format, int quality, System.IO.Stream stream);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task`1<bool> CompressAsync(class Android.Graphics.Bitmap/CompressFormat format, int32 quality, class System.IO.Stream stream) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CompressAsync(Android.Graphics.Bitmap.CompressFormat,System.Int32,System.IO.Stream)" />
<MemberSignature Language="F#" Value="member this.CompressAsync : Android.Graphics.Bitmap.CompressFormat * int * System.IO.Stream -> System.Threading.Tasks.Task<bool>" Usage="bitmap.CompressAsync (format, quality, stream)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<System.Boolean></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="format" Type="Android.Graphics.Bitmap+CompressFormat" />
<Parameter Name="quality" Type="System.Int32" />
<Parameter Name="stream" Type="System.IO.Stream" />
</Parameters>
<Docs>
<param name="format">To be added.</param>
<param name="quality">To be added.</param>
<param name="stream">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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="Copy">
<MemberSignature Language="C#" Value="public Android.Graphics.Bitmap? Copy (Android.Graphics.Bitmap.Config config, bool isMutable);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Graphics.Bitmap Copy(class Android.Graphics.Bitmap/Config config, bool isMutable) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.Copy(Android.Graphics.Bitmap.Config,System.Boolean)" />
<MemberSignature Language="F#" Value="member this.Copy : Android.Graphics.Bitmap.Config * bool -> Android.Graphics.Bitmap" Usage="bitmap.Copy (config, isMutable)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("copy", "(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("copy", "(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="config" Type="Android.Graphics.Bitmap+Config" />
<Parameter Name="isMutable" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="config">The desired config for the resulting bitmap</param>
<param name="isMutable">True if the resulting bitmap should be mutable (i.e.
its pixels can be modified)</param>
<summary>Tries to make a new bitmap based on the dimensions of this bitmap,
setting the new bitmap's config to the one specified, and then copying
this bitmap's pixels into the new bitmap.</summary>
<returns>the new bitmap, or null if the copy could not be made.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#copy(android.graphics.Config,%20boolean)" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.copy(android.graphics.Config, boolean)</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="CopyPixelsFromBuffer">
<MemberSignature Language="C#" Value="public void CopyPixelsFromBuffer (Java.Nio.Buffer src);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void CopyPixelsFromBuffer(class Java.Nio.Buffer src) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CopyPixelsFromBuffer(Java.Nio.Buffer)" />
<MemberSignature Language="F#" Value="member this.CopyPixelsFromBuffer : Java.Nio.Buffer -> unit" Usage="bitmap.CopyPixelsFromBuffer src" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("copyPixelsFromBuffer", "(Ljava/nio/Buffer;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("copyPixelsFromBuffer", "(Ljava/nio/Buffer;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="src" Type="Java.Nio.Buffer" />
</Parameters>
<Docs>
<param name="src">To be added.</param>
<summary>Copy the pixels from the buffer, beginning at the current position,
overwriting the bitmap's pixels.</summary>
<remarks>
<para>Copy the pixels from the buffer, beginning at the current position,
overwriting the bitmap's pixels. The data in the buffer is not changed
in any way (unlike setPixels(), which converts from unpremultipled 32bit
to whatever the bitmap's native format is. The pixels in the source
buffer are assumed to be in the bitmap's color space.</para>
<para>After this method returns, the current position of the buffer is
updated: the position is incremented by the number of elements read from
the buffer. If you need to read the bitmap from the buffer again you must
first rewind the buffer.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#copyPixelsFromBuffer(java.nio.Buffer)" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.copyPixelsFromBuffer(java.nio.Buffer)</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 3" />
</Docs>
</Member>
<Member MemberName="CopyPixelsFromBufferAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task CopyPixelsFromBufferAsync (Java.Nio.Buffer src);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task CopyPixelsFromBufferAsync(class Java.Nio.Buffer src) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CopyPixelsFromBufferAsync(Java.Nio.Buffer)" />
<MemberSignature Language="F#" Value="member this.CopyPixelsFromBufferAsync : Java.Nio.Buffer -> System.Threading.Tasks.Task" Usage="bitmap.CopyPixelsFromBufferAsync src" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="src" Type="Java.Nio.Buffer" />
</Parameters>
<Docs>
<param name="src">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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="CopyPixelsToBuffer">
<MemberSignature Language="C#" Value="public void CopyPixelsToBuffer (Java.Nio.Buffer dst);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void CopyPixelsToBuffer(class Java.Nio.Buffer dst) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CopyPixelsToBuffer(Java.Nio.Buffer)" />
<MemberSignature Language="F#" Value="member this.CopyPixelsToBuffer : Java.Nio.Buffer -> unit" Usage="bitmap.CopyPixelsToBuffer dst" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("copyPixelsToBuffer", "(Ljava/nio/Buffer;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("copyPixelsToBuffer", "(Ljava/nio/Buffer;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dst" Type="Java.Nio.Buffer" />
</Parameters>
<Docs>
<param name="dst">To be added.</param>
<summary>Copy the bitmap's pixels into the specified buffer (allocated by the
caller).</summary>
<remarks>
<para>Copy the bitmap's pixels into the specified buffer (allocated by the
caller). An exception is thrown if the buffer is not large enough to
hold all of the pixels (taking into account the number of bytes per
pixel) or if the Buffer subclass is not one of the support types
(ByteBuffer, ShortBuffer, IntBuffer).</para>
<para>The content of the bitmap is copied into the buffer as-is. This means
that if this bitmap stores its pixels pre-multiplied
(see <c>#isPremultiplied()</c>, the values in the buffer will also be
pre-multiplied. The pixels remain in the color space of the bitmap.</para>
<para>After this method returns, the current position of the buffer is
updated: the position is incremented by the number of elements written
in the buffer.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#copyPixelsToBuffer(java.nio.Buffer)" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.copyPixelsToBuffer(java.nio.Buffer)</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="CopyPixelsToBufferAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task CopyPixelsToBufferAsync (Java.Nio.Buffer dst);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task CopyPixelsToBufferAsync(class Java.Nio.Buffer dst) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CopyPixelsToBufferAsync(Java.Nio.Buffer)" />
<MemberSignature Language="F#" Value="member this.CopyPixelsToBufferAsync : Java.Nio.Buffer -> System.Threading.Tasks.Task" Usage="bitmap.CopyPixelsToBufferAsync dst" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dst" Type="Java.Nio.Buffer" />
</Parameters>
<Docs>
<param name="dst">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (Android.Graphics.Bitmap src);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(class Android.Graphics.Bitmap src) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(Android.Graphics.Bitmap)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : Android.Graphics.Bitmap -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap src" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="src" Type="Android.Graphics.Bitmap" />
</Parameters>
<Docs>
<param name="src">To be added.</param>
<summary>Returns a bitmap from the source bitmap.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns a bitmap from the source bitmap. The new bitmap may
be the same object as source, or a copy may have been made. It is
initialized with the same density and color space as the original bitmap.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#createBitmap(android.graphics.Bitmap)" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.createBitmap(android.graphics.Bitmap)</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="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (Android.Graphics.Picture source);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(class Android.Graphics.Picture source) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(Android.Graphics.Picture)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : Android.Graphics.Picture -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap source" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(Landroid/graphics/Picture;)Landroid/graphics/Bitmap;", "", ApiSince=28)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(Landroid/graphics/Picture;)Landroid/graphics/Bitmap;", "", ApiSince=28)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android28.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android28.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="Android.Graphics.Picture" />
</Parameters>
<Docs>
<param name="source">The recorded <c>Picture</c> of drawing commands that will be
drawn into the returned Bitmap.</param>
<summary>Creates a Bitmap from the given <c>Picture</c> source of recorded drawing commands.</summary>
<returns>An immutable bitmap with a HARDWARE config whose contents are created
from the recorded drawing commands in the Picture source.</returns>
<remarks>
<para>Creates a Bitmap from the given <c>Picture</c> source of recorded drawing commands.
Equivalent to calling <c>#createBitmap(Picture, int, int, Config)</c> with
width and height the same as the Picture's width and height and a Config.HARDWARE
config.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#createBitmap(android.graphics.Picture)" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.createBitmap(android.graphics.Picture)</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="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (int width, int height, Android.Graphics.Bitmap.Config config);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(int32 width, int32 height, class Android.Graphics.Bitmap/Config config) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(System.Int32,System.Int32,Android.Graphics.Bitmap.Config)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : int * int * Android.Graphics.Bitmap.Config -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap (width, height, config)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
<Parameter Name="config" Type="Android.Graphics.Bitmap+Config" />
</Parameters>
<Docs>
<param name="width">The width of the bitmap</param>
<param name="height">The height of the bitmap</param>
<param name="config">The bitmap config to create.</param>
<summary>Returns a mutable bitmap with the specified width and height.</summary>
<returns>To be added.</returns>
<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" />
<exception cref="T:Java.Lang.IllegalArgumentException">if the width or height are <= 0
</exception>
</Docs>
</Member>
<Member MemberName="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (Android.Graphics.Picture source, int width, int height, Android.Graphics.Bitmap.Config config);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(class Android.Graphics.Picture source, int32 width, int32 height, class Android.Graphics.Bitmap/Config config) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(Android.Graphics.Picture,System.Int32,System.Int32,Android.Graphics.Bitmap.Config)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : Android.Graphics.Picture * int * int * Android.Graphics.Bitmap.Config -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap (source, width, height, config)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(Landroid/graphics/Picture;IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "", ApiSince=28)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(Landroid/graphics/Picture;IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "", ApiSince=28)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android28.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android28.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="Android.Graphics.Picture" />
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
<Parameter Name="config" Type="Android.Graphics.Bitmap+Config" />
</Parameters>
<Docs>
<param name="source">To be added.</param>
<param name="width">To be added.</param>
<param name="height">To be added.</param>
<param name="config">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (Android.Util.DisplayMetrics? display, int width, int height, Android.Graphics.Bitmap.Config config);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(class Android.Util.DisplayMetrics display, int32 width, int32 height, class Android.Graphics.Bitmap/Config config) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(Android.Util.DisplayMetrics,System.Int32,System.Int32,Android.Graphics.Bitmap.Config)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : Android.Util.DisplayMetrics * int * int * Android.Graphics.Bitmap.Config -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap (display, width, height, config)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(Landroid/util/DisplayMetrics;IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(Landroid/util/DisplayMetrics;IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="display" Type="Android.Util.DisplayMetrics" />
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
<Parameter Name="config" Type="Android.Graphics.Bitmap+Config" />
</Parameters>
<Docs>
<param name="display">Display metrics for the display this bitmap will be
drawn on.</param>
<param name="width">The width of the bitmap</param>
<param name="height">The height of the bitmap</param>
<param name="config">The bitmap config to create.</param>
<summary>Returns a mutable bitmap with the specified width and height.</summary>
<returns>To be added.</returns>
<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 17" />
<exception cref="T:Java.Lang.IllegalArgumentException">if the width or height are <= 0
</exception>
</Docs>
</Member>
<Member MemberName="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (int width, int height, Android.Graphics.Bitmap.Config config, bool hasAlpha);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(int32 width, int32 height, class Android.Graphics.Bitmap/Config config, bool hasAlpha) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(System.Int32,System.Int32,Android.Graphics.Bitmap.Config,System.Boolean)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : int * int * Android.Graphics.Bitmap.Config * bool -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap (width, height, config, hasAlpha)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(IILandroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;", "", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(IILandroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;", "", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
<Parameter Name="config" Type="Android.Graphics.Bitmap+Config" />
<Parameter Name="hasAlpha" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="width">To be added.</param>
<param name="height">To be added.</param>
<param name="config">To be added.</param>
<param name="hasAlpha">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (int[] colors, int width, int height, Android.Graphics.Bitmap.Config? config);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(int32[] colors, int32 width, int32 height, class Android.Graphics.Bitmap/Config config) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(System.Int32[],System.Int32,System.Int32,Android.Graphics.Bitmap.Config)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : int[] * int * int * Android.Graphics.Bitmap.Config -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap (colors, width, height, config)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "([IIILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "([IIILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="colors" Type="System.Int32[]" />
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
<Parameter Name="config" Type="Android.Graphics.Bitmap+Config" />
</Parameters>
<Docs>
<param name="colors">Array of <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search='T:Android Graphics _Color';scope=Xamarin" title="T:Android.Graphics._Color">T:Android.Graphics._Color</a></format> used to initialize the pixels.
This array must be at least as large as width * height.</param>
<param name="width">The width of the bitmap</param>
<param name="height">The height of the bitmap</param>
<param name="config">The bitmap config to create. If the config does not
support per-pixel alpha (e.g. RGB_565), then the alpha
bytes in the colors[] will be ignored (assumed to be FF)</param>
<summary>Returns a immutable bitmap with the specified width and height, with each
pixel value set to the corresponding value in the colors array.</summary>
<returns>To be added.</returns>
<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" />
<exception cref="T:Java.Lang.IllegalArgumentException">if the width or height are <= 0, or if
the color array's length is less than the number of pixels.
</exception>
</Docs>
</Member>
<Member MemberName="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (Android.Graphics.Bitmap source, int x, int y, int width, int height);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(class Android.Graphics.Bitmap source, int32 x, int32 y, int32 width, int32 height) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(Android.Graphics.Bitmap,System.Int32,System.Int32,System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : Android.Graphics.Bitmap * int * int * int * int -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap (source, x, y, width, height)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(Landroid/graphics/Bitmap;IIII)Landroid/graphics/Bitmap;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(Landroid/graphics/Bitmap;IIII)Landroid/graphics/Bitmap;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="Android.Graphics.Bitmap" />
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<param name="source">The bitmap we are subsetting</param>
<param name="x">The x coordinate of the first pixel in source</param>
<param name="y">The y coordinate of the first pixel in source</param>
<param name="width">The number of pixels in each row</param>
<param name="height">The number of rows</param>
<summary>Returns a bitmap from the specified subset of the source
bitmap.</summary>
<returns>A copy of a subset of the source bitmap or the source bitmap itself.</returns>
<remarks>
<para>Returns a bitmap from the specified subset of the source
bitmap. The new bitmap may be the same object as source, or a copy may
have been made. It is initialized with the same density and color space
as the original bitmap.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/graphics/Bitmap#createBitmap(android.graphics.Bitmap,%20int,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.graphics.Bitmap.createBitmap(android.graphics.Bitmap, int, int, int, 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" />
<exception cref="T:Java.Lang.IllegalArgumentException">if the x, y, width, height values are
outside of the dimensions of the source bitmap, or width is <= 0,
or height is <= 0
</exception>
</Docs>
</Member>
<Member MemberName="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (Android.Util.DisplayMetrics? display, int width, int height, Android.Graphics.Bitmap.Config config, bool hasAlpha);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(class Android.Util.DisplayMetrics display, int32 width, int32 height, class Android.Graphics.Bitmap/Config config, bool hasAlpha) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(Android.Util.DisplayMetrics,System.Int32,System.Int32,Android.Graphics.Bitmap.Config,System.Boolean)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : Android.Util.DisplayMetrics * int * int * Android.Graphics.Bitmap.Config * bool -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap (display, width, height, config, hasAlpha)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(Landroid/util/DisplayMetrics;IILandroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;", "", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(Landroid/util/DisplayMetrics;IILandroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;", "", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="display" Type="Android.Util.DisplayMetrics" />
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
<Parameter Name="config" Type="Android.Graphics.Bitmap+Config" />
<Parameter Name="hasAlpha" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="display">To be added.</param>
<param name="width">To be added.</param>
<param name="height">To be added.</param>
<param name="config">To be added.</param>
<param name="hasAlpha">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (Android.Util.DisplayMetrics? display, int[] colors, int width, int height, Android.Graphics.Bitmap.Config config);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(class Android.Util.DisplayMetrics display, int32[] colors, int32 width, int32 height, class Android.Graphics.Bitmap/Config config) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(Android.Util.DisplayMetrics,System.Int32[],System.Int32,System.Int32,Android.Graphics.Bitmap.Config)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : Android.Util.DisplayMetrics * int[] * int * int * Android.Graphics.Bitmap.Config -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap (display, colors, width, height, config)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(Landroid/util/DisplayMetrics;[IIILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(Landroid/util/DisplayMetrics;[IIILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="display" Type="Android.Util.DisplayMetrics" />
<Parameter Name="colors" Type="System.Int32[]" />
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
<Parameter Name="config" Type="Android.Graphics.Bitmap+Config" />
</Parameters>
<Docs>
<param name="display">Display metrics for the display this bitmap will be
drawn on.</param>
<param name="colors">Array of <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search='T:Android Graphics _Color';scope=Xamarin" title="T:Android.Graphics._Color">T:Android.Graphics._Color</a></format> used to initialize the pixels.
This array must be at least as large as width * height.</param>
<param name="width">The width of the bitmap</param>
<param name="height">The height of the bitmap</param>
<param name="config">The bitmap config to create. If the config does not
support per-pixel alpha (e.g. RGB_565), then the alpha
bytes in the colors[] will be ignored (assumed to be FF)</param>
<summary>Returns a immutable bitmap with the specified width and height, with each
pixel value set to the corresponding value in the colors array.</summary>
<returns>To be added.</returns>
<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 17" />
<exception cref="T:Java.Lang.IllegalArgumentException">if the width or height are <= 0, or if
the color array's length is less than the number of pixels.
</exception>
</Docs>
</Member>
<Member MemberName="CreateBitmap">
<MemberSignature Language="C#" Value="public static Android.Graphics.Bitmap CreateBitmap (int width, int height, Android.Graphics.Bitmap.Config config, bool hasAlpha, Android.Graphics.ColorSpace colorSpace);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Bitmap CreateBitmap(int32 width, int32 height, class Android.Graphics.Bitmap/Config config, bool hasAlpha, class Android.Graphics.ColorSpace colorSpace) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Graphics.Bitmap.CreateBitmap(System.Int32,System.Int32,Android.Graphics.Bitmap.Config,System.Boolean,Android.Graphics.ColorSpace)" />
<MemberSignature Language="F#" Value="static member CreateBitmap : int * int * Android.Graphics.Bitmap.Config * bool * Android.Graphics.ColorSpace -> Android.Graphics.Bitmap" Usage="Android.Graphics.Bitmap.CreateBitmap (width, height, config, hasAlpha, colorSpace)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createBitmap", "(IILandroid/graphics/Bitmap$Config;ZLandroid/graphics/ColorSpace;)Landroid/graphics/Bitmap;", "", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createBitmap", "(IILandroid/graphics/Bitmap$Config;ZLandroid/graphics/ColorSpace;)Landroid/graphics/Bitmap;", "", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
<Parameter Name="config" Type="Android.Graphics.Bitmap+Config" />
<Parameter Name="hasAlpha" Type="System.Boolean" />
<Parameter Name="colorSpace" Type="Android.Graphics.ColorSpace" />
</Parameters>
<Docs>
<param name="width">To be added.</param>
<param name="height">To be added.</param>
<param name="config">To be added.</param>
<param name="hasAlpha">To be added.</param>
<param name="colorSpace">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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>