This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public Camera FirstPersonCamera; | |
| public GameObject DetectedPlanePrefab; | |
| public GameObject DiabloGameObject; | |
| void Update () { | |
| _UpdateApplicationLifecycle(); | |
| // Hide snackbar when currently tracking at least one plane. | |
| Session.GetTrackables<DetectedPlane>(m_AllPlanes); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This application by default does not track or record anything of the user explicitly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This application by default does not track or record anything of the user explicitly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MenuItem item2 = MenuItemBuilder.createFrom(item1) | |
| .selectedLottieName("gift.json") | |
| .unSelectedLottieName("gift.json") | |
| .build(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| simplyPdfDocument = SimplyPdf.with(this, new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/test.pdf")) | |
| .colorMode(DocumentInfo.ColorMode.COLOR) | |
| .paperSize(PrintAttributes.MediaSize.ISO_A4) | |
| .margin(DocumentInfo.Margins.DEFAULT) | |
| .paperOrientation(DocumentInfo.Orientation.PORTRAIT) | |
| .build(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| textComposer = simplyPdfDocument.getTextComposer(); | |
| TextComposer.Properties textProperties = new TextComposer.Properties(); | |
| textProperties.textSize = 24; | |
| textProperties.typeface = Typeface.create(Typeface.DEFAULT, Typeface.BOLD); | |
| textProperties.alignment = Layout.Alignment.ALIGN_CENTER; | |
| textComposer.write("SimplyPDF", textProperties); | |
| textProperties.typeface = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| simplyPdfDocument = SimplyPdf.with(this, new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/test.pdf")) | |
| .colorMode(DocumentInfo.ColorMode.COLOR) | |
| .paperSize(PrintAttributes.MediaSize.ISO_A4) | |
| .margin(DocumentInfo.Margins.DEFAULT) | |
| .paperOrientation(DocumentInfo.Orientation.PORTRAIT) | |
| .build(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TextProperties textProperties = new TextProperties(); | |
| textProperties.textSize = 24; | |
| textProperties.typeface = Typeface.create(Typeface.DEFAULT, Typeface.BOLD); | |
| textProperties.alignment = Layout.Alignment.ALIGN_CENTER; | |
| TextComposer textComposer = new TextComposer(simplyPdfDocument); | |
| textComposer.write("SimplyPDF", textProperties); |
OlderNewer